2005-10-11 Paul Jakma <paul.jakma@sun.com>
* connected.{c,h}: (connected_{add,delete}_ipv4) label should
be const qualified.
diff --git a/zebra/ChangeLog b/zebra/ChangeLog
index 22adfeb..0d69e75 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 5557819..58d964f 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -147,7 +147,8 @@
/* 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 @@
/* 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 73166eb..26e809c 100644
--- a/zebra/connected.h
+++ b/zebra/connected.h
@@ -28,11 +28,13 @@
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 *);