diff options
author | paul <paul> | 2005-10-11 03:53:54 +0000 |
---|---|---|
committer | paul <paul> | 2005-10-11 03:53:54 +0000 |
commit | d06b2a64b7093f998e7b0f33454efc23190123ac (patch) | |
tree | 00117184e0d6ea2084d02abf31b4564182a03fc1 | |
parent | 84771ee0deadae6d83b939a2d3f8f83cc420a829 (diff) |
2005-10-11 Paul Jakma <paul.jakma@sun.com>
* connected.{c,h}: (connected_{add,delete}_ipv4) label should
be const qualified.
-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 *); |