diff options
Diffstat (limited to 'zebra')
-rw-r--r-- | zebra/ChangeLog | 5 | ||||
-rw-r--r-- | zebra/connected.c | 6 | ||||
-rw-r--r-- | zebra/connected.h | 6 |
3 files changed, 13 insertions, 4 deletions
diff --git a/zebra/ChangeLog b/zebra/ChangeLog index 22adfeb2..0d69e751 100644 --- a/zebra/ChangeLog +++ b/zebra/ChangeLog @@ -1,3 +1,8 @@ +2005-10-11 Paul Jakma <paul.jakma@sun.com> + + * connected.{c,h}: (connected_{add,delete}_ipv4) label should + be const qualified. + 2005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * zebra_vty.c: (route_type_str) Remove obsolete function: use new diff --git a/zebra/connected.c b/zebra/connected.c index 5557819c..58d964fc 100644 --- a/zebra/connected.c +++ b/zebra/connected.c @@ -147,7 +147,8 @@ connected_up_ipv4 (struct interface *ifp, struct connected *ifc) /* Add connected IPv4 route to the interface. */ void connected_add_ipv4 (struct interface *ifp, int flags, struct in_addr *addr, - u_char prefixlen, struct in_addr *broad, char *label) + u_char prefixlen, struct in_addr *broad, + const char *label) { struct prefix_ipv4 *p; struct connected *ifc; @@ -266,7 +267,8 @@ connected_down_ipv4 (struct interface *ifp, struct connected *ifc) /* Delete connected IPv4 route to the interface. */ void connected_delete_ipv4 (struct interface *ifp, int flags, struct in_addr *addr, - u_char prefixlen, struct in_addr *broad, char *label) + u_char prefixlen, struct in_addr *broad, + const char *label) { struct prefix_ipv4 p; struct connected *ifc; diff --git a/zebra/connected.h b/zebra/connected.h index 73166eb5..26e809c4 100644 --- a/zebra/connected.h +++ b/zebra/connected.h @@ -28,11 +28,13 @@ connected_check (struct interface *ifp, struct prefix *p); extern void connected_add_ipv4 (struct interface *ifp, int flags, struct in_addr *addr, - u_char prefixlen, struct in_addr *broad, char *label); + u_char prefixlen, struct in_addr *broad, + const char *label); extern void connected_delete_ipv4 (struct interface *ifp, int flags, struct in_addr *addr, - u_char prefixlen, struct in_addr *broad, char *label); + u_char prefixlen, struct in_addr *broad, + const char *label); extern void connected_up_ipv4 (struct interface *, struct connected *); extern void connected_down_ipv4 (struct interface *, struct connected *); |