summaryrefslogtreecommitdiff
path: root/zebra/zebra_static.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-01-08 19:11:17 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-01-12 09:22:46 -0500
commitcbb0dbf6bd49df140ae838b8013c15513d976b4d (patch)
tree6f9969ebf86ba08fea1e0139936c7e1a5384114e /zebra/zebra_static.h
parent2f03bc8f72de03461b2be732162521fd6b837d49 (diff)
zebra: Add the zvrf pointer to the 'struct static_route'
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_static.h')
-rw-r--r--zebra/zebra_static.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_static.h b/zebra/zebra_static.h
index 68fe73b0a3..234e3e4036 100644
--- a/zebra/zebra_static.h
+++ b/zebra/zebra_static.h
@@ -54,6 +54,7 @@ struct static_route {
/* VRF identifier. */
vrf_id_t vrf_id;
+ vrf_id_t nh_vrf_id;
/* Administrative distance. */
u_char distance;
@@ -89,6 +90,7 @@ extern int static_add_route(afi_t, safi_t safi, u_char type, struct prefix *p,
const char *ifname,
enum static_blackhole_type bh_type, route_tag_t tag,
u_char distance, struct zebra_vrf *zvrf,
+ struct zebra_vrf *nh_zvrf,
struct static_nh_label *snh_label);
extern int static_delete_route(afi_t, safi_t safi, u_char type,