diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-01-08 17:17:02 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-01-12 15:22:07 +0100 |
commit | d5b2119cb418c47a70eb931a4ccdb6e6f078619f (patch) | |
tree | df7a0ae2a8bf5e344f73fe5cac7d7cd6871679e4 /isisd | |
parent | zebra: When displaying nexthop information show correct vrf (diff) | |
download | frr-d5b2119cb418c47a70eb931a4ccdb6e6f078619f.tar.xz frr-d5b2119cb418c47a70eb931a4ccdb6e6f078619f.zip |
*: Send/receive the nexthop vrf_id
Modify the code to send and receive to/from zebra
the nexthops vrf_id.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'isisd')
-rw-r--r-- | isisd/isis_zebra.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isis_zebra.c b/isisd/isis_zebra.c index 573b81591..0512a18a2 100644 --- a/isisd/isis_zebra.c +++ b/isisd/isis_zebra.c @@ -261,6 +261,7 @@ static void isis_zebra_route_add_route(struct prefix *prefix, memset(&api, 0, sizeof(api)); api.vrf_id = VRF_DEFAULT; + api.nh_vrf_id = VRF_DEFAULT; api.type = ZEBRA_ROUTE_ISIS; api.safi = SAFI_UNICAST; api.prefix = *prefix; @@ -329,6 +330,7 @@ static void isis_zebra_route_del_route(struct prefix *prefix, memset(&api, 0, sizeof(api)); api.vrf_id = VRF_DEFAULT; + api.nh_vrf_id = VRF_DEFAULT; api.type = ZEBRA_ROUTE_ISIS; api.safi = SAFI_UNICAST; api.prefix = *prefix; |