summaryrefslogtreecommitdiff
path: root/zebra/connected.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/connected.c')
-rw-r--r--zebra/connected.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/zebra/connected.c b/zebra/connected.c
index 94b56c8971..2198ddf5ea 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -273,7 +273,7 @@ void connected_up(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,
+ uint8_t prefixlen, struct in_addr *broad,
const char *label)
{
struct prefix_ipv4 *p;
@@ -469,7 +469,7 @@ static void connected_delete_helper(struct connected *ifc, struct prefix *p)
/* 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 *addr, uint8_t prefixlen,
struct in_addr *broad)
{
struct prefix p, d;
@@ -495,7 +495,7 @@ void connected_delete_ipv4(struct interface *ifp, int flags,
/* Add connected IPv6 route to the interface. */
void connected_add_ipv6(struct interface *ifp, int flags, struct in6_addr *addr,
- u_char prefixlen, const char *label)
+ uint8_t prefixlen, const char *label)
{
struct prefix_ipv6 *p;
struct connected *ifc;
@@ -536,7 +536,7 @@ void connected_add_ipv6(struct interface *ifp, int flags, struct in6_addr *addr,
}
void connected_delete_ipv6(struct interface *ifp, struct in6_addr *address,
- u_char prefixlen)
+ uint8_t prefixlen)
{
struct prefix p;
struct connected *ifc;