summaryrefslogtreecommitdiff
path: root/zebra/zebra_static.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_static.h')
-rw-r--r--zebra/zebra_static.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/zebra/zebra_static.h b/zebra/zebra_static.h
index ff9f0f59e7..458594a289 100644
--- a/zebra/zebra_static.h
+++ b/zebra/zebra_static.h
@@ -61,18 +61,12 @@ struct static_route {
/*
* Nexthop value.
*/
+ enum blackhole_type bh_type;
union g_addr addr;
ifindex_t ifindex;
char ifname[INTERFACE_NAMSIZ + 1];
- /* bit flags */
- u_char flags;
- /*
- see ZEBRA_FLAG_REJECT
- ZEBRA_FLAG_BLACKHOLE
- */
-
/* Label information */
struct static_nh_label snh_label;
};
@@ -86,7 +80,7 @@ extern void static_uninstall_route(afi_t afi, safi_t safi, struct prefix *p,
extern int static_add_route(afi_t, safi_t safi, u_char type, struct prefix *p,
struct prefix_ipv6 *src_p, union g_addr *gate,
- const char *ifname, u_char flags,
+ const char *ifname, enum blackhole_type bh_type,
route_tag_t tag, u_char distance,
struct zebra_vrf *zvrf,
struct static_nh_label *snh_label);