]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_rnh.c
zebra: Add nh_vrf_id to 'struct route_entry`
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 12 Jan 2018 14:20:30 +0000 (09:20 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 12 Jan 2018 14:20:30 +0000 (09:20 -0500)
commit8f43b4d8868b340a7c61e55372b01f070abfb491
tree86ade99a03d400a521a4345be635fc311bd0c759
parent14fcc65cbbcd3d1684b879a10a0d8564c238e0e6
zebra: Add nh_vrf_id to 'struct route_entry`

With VRF route-leaking we need to know what vrf
the nexthops are in compared to this vrf.  This
code adds the nh_vrf_id to the route entry and
sets it up correctly for the non-route-leaking
case.

The assumption here is that future commits
will make the nh_vrf_id *different* than
the vrf_id.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/rib.h
zebra/rt_netlink.c
zebra/zebra_rib.c
zebra/zebra_rnh.c
zebra/zebra_static.c
zebra/zserv.c