[zebra] fix connected_add_ipv6 declarations, label should be const.
2005-11-26 Paul Jakma <paul.jakma@sun.com>
* connected.{c,h}: (connected_add_ipv6) label should have
const qualifier, fix declarations.
diff --git a/zebra/ChangeLog b/zebra/ChangeLog
index 4764012..49d922d 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 105e4b1..5417ffc 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -330,7 +330,8 @@
/* 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 289b03c..28387e9 100644
--- a/zebra/connected.h
+++ b/zebra/connected.h
@@ -41,7 +41,8 @@
#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);