diff options
author | paul <paul> | 2005-11-26 09:14:07 +0000 |
---|---|---|
committer | paul <paul> | 2005-11-26 09:14:07 +0000 |
commit | 89368d9f8b70fef5c196db9055bd6a7e7aaa4f36 (patch) | |
tree | e3756712745f8e6556fa35105bea3023647b9233 | |
parent | 6a4b883229eb5590ee59cbe24ea0005df03be675 (diff) |
[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.
-rw-r--r-- | zebra/ChangeLog | 5 | ||||
-rw-r--r-- | zebra/connected.c | 3 | ||||
-rw-r--r-- | zebra/connected.h | 3 |
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); |