diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-01-08 19:11:17 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-01-12 09:22:46 -0500 |
| commit | cbb0dbf6bd49df140ae838b8013c15513d976b4d (patch) | |
| tree | 6f9969ebf86ba08fea1e0139936c7e1a5384114e /zebra/zebra_vty.c | |
| parent | 2f03bc8f72de03461b2be732162521fd6b837d49 (diff) | |
zebra: Add the zvrf pointer to the 'struct static_route'
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_vty.c')
| -rw-r--r-- | zebra/zebra_vty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index 45e204dcc9..ece4428c43 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -233,7 +233,8 @@ static int zebra_static_route_leak(struct vty *vty, if (!negate) static_add_route(afi, safi, type, &p, src_p, gatep, ifname, - bh_type, tag, distance, zvrf, &snh_label); + bh_type, tag, distance, zvrf, nh_zvrf, + &snh_label); else static_delete_route(afi, safi, type, &p, src_p, gatep, ifname, tag, distance, zvrf, &snh_label); |
