]> git.proxmox.com Git - mirror_frr.git/commit - zebra/rt_netlink.c
zebra: upon RTM_NEWROUTE/DELROUTE, find appropriate interface
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 2 Jul 2018 08:33:00 +0000 (10:33 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 10 Jul 2018 15:32:23 +0000 (17:32 +0200)
commitfac4d51eea6cad22d5224ff5a0c538ce2ccdeada
tree79396f7fd549bf053f3b9e03080e56ef24fc124b
parentc26178fe614ea9c50f74869d1c7435abec754681
zebra: upon RTM_NEWROUTE/DELROUTE, find appropriate interface

The interface lookup algorithm is different according to if we are on
netns vrf or not. If we are on the former case, then we only have to
parse the interfaces of the netns, while if we are on the other case, we
have to parse all the interfaces of all the vrfs ( since index is not
overlapping in the latter case).

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/rt_netlink.c