summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zebra/ChangeLog5
-rw-r--r--zebra/connected.c3
-rw-r--r--zebra/connected.h3
3 files changed, 9 insertions, 2 deletions
diff --git a/zebra/ChangeLog b/zebra/ChangeLog
index 4764012c..49d922d8 100644
--- a/zebra/ChangeLog
+++ b/zebra/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-26 Paul Jakma <paul.jakma@sun.com>
+
+ * connected.{c,h}: (connected_add_ipv6) label should have
+ const qualifier, fix declarations.
+
2005-11-24 Paul Jakma <paul.jakma@sun.com>
* kernel_socket.h: New header for functions exported to sysctl
diff --git a/zebra/connected.c b/zebra/connected.c
index 105e4b11..5417ffc5 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -330,7 +330,8 @@ connected_up_ipv6 (struct interface *ifp, struct connected *ifc)
/* Add connected IPv6 route to the interface. */
void
connected_add_ipv6 (struct interface *ifp, struct in6_addr *addr,
- u_char prefixlen, struct in6_addr *broad, char *label)
+ u_char prefixlen, struct in6_addr *broad,
+ const char *label)
{
struct prefix_ipv6 *p;
struct connected *ifc;
diff --git a/zebra/connected.h b/zebra/connected.h
index 289b03c7..28387e93 100644
--- a/zebra/connected.h
+++ b/zebra/connected.h
@@ -41,7 +41,8 @@ extern void connected_down_ipv4 (struct interface *, struct connected *);
#ifdef HAVE_IPV6
extern void
connected_add_ipv6 (struct interface *ifp, struct in6_addr *address,
- u_char prefixlen, struct in6_addr *broad, char *label);
+ u_char prefixlen, struct in6_addr *broad,
+ const char *label);
extern void
connected_delete_ipv6 (struct interface *ifp, struct in6_addr *address,
u_char prefixlen, struct in6_addr *broad);