From d06b2a64b7093f998e7b0f33454efc23190123ac Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 11 Oct 2005 03:53:54 +0000 Subject: 2005-10-11 Paul Jakma * connected.{c,h}: (connected_{add,delete}_ipv4) label should be const qualified. --- zebra/connected.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'zebra/connected.c') 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; -- cgit v1.2.1