diff options
author | hasso <hasso> | 2004-10-12 20:50:58 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-10-12 20:50:58 +0000 |
commit | a2af9a54e3e42565f96f15e183c59afbdd56d373 (patch) | |
tree | ac332a733a90a00cb0bf5bea4396b9a9db51da36 /zebra/rib.h | |
parent | d73613cca874501cf60705685e1c1dbac852182c (diff) | |
download | quagga-a2af9a54e3e42565f96f15e183c59afbdd56d373.tar.bz2 quagga-a2af9a54e3e42565f96f15e183c59afbdd56d373.tar.xz |
Some compiler warnings fixes and fix for bugzilla #119.
Diffstat (limited to 'zebra/rib.h')
-rw-r--r-- | zebra/rib.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/zebra/rib.h b/zebra/rib.h index 1141db11..b21e087f 100644 --- a/zebra/rib.h +++ b/zebra/rib.h @@ -234,11 +234,11 @@ void rib_close (); void rib_init (); int -static_add_ipv4 (struct prefix *p, struct in_addr *gate, char *ifname, +static_add_ipv4 (struct prefix *p, struct in_addr *gate, const char *ifname, u_char flags, u_char distance, u_int32_t vrf_id); int -static_delete_ipv4 (struct prefix *p, struct in_addr *gate, char *ifname, +static_delete_ipv4 (struct prefix *p, struct in_addr *gate, const char *ifname, u_char distance, u_int32_t vrf_id); #ifdef HAVE_IPV6 @@ -258,11 +258,12 @@ extern struct route_table *rib_table_ipv6; int static_add_ipv6 (struct prefix *p, u_char type, struct in6_addr *gate, - char *ifname, u_char flags, u_char distance, u_int32_t vrf_id); + const char *ifname, u_char flags, u_char distance, + u_int32_t vrf_id); int static_delete_ipv6 (struct prefix *p, u_char type, struct in6_addr *gate, - char *ifname, u_char distance, u_int32_t vrf_id); + const char *ifname, u_char distance, u_int32_t vrf_id); #endif /* HAVE_IPV6 */ |