]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zserv.h
zebra: let the route-map rule "match interface" work for VRFs
authorFeng Lu <lu.feng@6wind.com>
Fri, 22 May 2015 09:40:04 +0000 (11:40 +0200)
committerVipin Kumar <vipin@cumulusnetworks.com>
Fri, 30 Oct 2015 06:52:37 +0000 (23:52 -0700)
commit0032dd59cda8215e7ccf4297cd78ee6100de7499
treeafabd0f44a9acc9daa6af3f6962d1da8db65a0df
parentaf41b63a5e3ab98812edae2b7c1a2d9a3091e5e7
zebra: let the route-map rule "match interface" work for VRFs

Introduce a new "struct nexthop_vrfid" to specify a nexthop together
with the VRF ID it belongs to.

Thus in route_match_interface(), we can lookup the interface from
the correct VRF.

Signed-off-by: Feng Lu <lu.feng@6wind.com>
Reviewed-by: Alain Ritoux <alain.ritoux@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Vincent JARDIN <vincent.jardin@6wind.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Conflicts:
zebra/zebra_rib.c
zebra/zebra_routemap.c
zebra/zebra_rib.c
zebra/zebra_routemap.c
zebra/zserv.h