summaryrefslogtreecommitdiff
path: root/zebra/zebra_static.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_static.c')
-rw-r--r--zebra/zebra_static.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/zebra/zebra_static.c b/zebra/zebra_static.c
index c8e49cb293..914b049c05 100644
--- a/zebra/zebra_static.c
+++ b/zebra/zebra_static.c
@@ -390,10 +390,10 @@ void static_uninstall_route(afi_t afi, safi_t safi, struct prefix *p,
route_unlock_node(rn);
}
-int static_add_route(afi_t afi, safi_t safi, u_char type, struct prefix *p,
+int static_add_route(afi_t afi, safi_t safi, uint8_t type, struct prefix *p,
struct prefix_ipv6 *src_p, union g_addr *gate,
const char *ifname, enum static_blackhole_type bh_type,
- route_tag_t tag, u_char distance, struct zebra_vrf *zvrf,
+ route_tag_t tag, uint8_t distance, struct zebra_vrf *zvrf,
struct zebra_vrf *nh_zvrf,
struct static_nh_label *snh_label)
{
@@ -522,9 +522,9 @@ int static_add_route(afi_t afi, safi_t safi, u_char type, struct prefix *p,
return 1;
}
-int static_delete_route(afi_t afi, safi_t safi, u_char type, struct prefix *p,
+int static_delete_route(afi_t afi, safi_t safi, uint8_t type, struct prefix *p,
struct prefix_ipv6 *src_p, union g_addr *gate,
- const char *ifname, route_tag_t tag, u_char distance,
+ const char *ifname, route_tag_t tag, uint8_t distance,
struct zebra_vrf *zvrf,
struct static_nh_label *snh_label)
{