summaryrefslogtreecommitdiff
path: root/zebra/connected.c
diff options
context:
space:
mode:
authorpaul <paul>2005-10-11 03:53:54 +0000
committerpaul <paul>2005-10-11 03:53:54 +0000
commitd06b2a64b7093f998e7b0f33454efc23190123ac (patch)
tree00117184e0d6ea2084d02abf31b4564182a03fc1 /zebra/connected.c
parent84771ee0deadae6d83b939a2d3f8f83cc420a829 (diff)
2005-10-11 Paul Jakma <paul.jakma@sun.com>
* connected.{c,h}: (connected_{add,delete}_ipv4) label should be const qualified.
Diffstat (limited to 'zebra/connected.c')
-rw-r--r--zebra/connected.c6
1 files changed, 4 insertions, 2 deletions
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;