]> git.puffer.fish Git - mirror/frr.git/commit
lib: create interface even if name is the same
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 19 Dec 2017 11:44:44 +0000 (12:44 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 27 Feb 2018 10:11:24 +0000 (11:11 +0100)
commite9e9b1150f0cea709ffffba1121ae216fbdbc2ca
tree5e766928ae0acbaa310a5ec66ee5a479ff58d94a
parent0439cb9d9e15053181f0bf13e49c39d74ca37e50
lib: create interface even if name is the same

For supporting vrf based on namespaces, it is possible that an interface
with the same index is present. This is the case for loopback
interfaces. For that, for each query, if the interface is not found
, matching the vrf identifier, then a new interface is created, when the
backens for VRF is NETNS.

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