]> git.proxmox.com Git - mirror_frr.git/commit
zebra: delete interface that disappeared
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 16 Mar 2018 17:37:08 +0000 (18:37 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 26 Mar 2018 09:31:44 +0000 (11:31 +0200)
commitb53686c52a592e5edf0d89f92ec9a2b83fc4e470
treecfc0bc358e530995a32209de8b1b54d1334b7049
parentfc9aa7acdc3eb3501aff2af5548defb52ae77733
zebra: delete interface that disappeared

When moving interfaces to an other place, like other netns, the
remaining interface is still present, with inactive status.
Now, that interface is deleted from the list, if the interface appears
on an other netns. If not, the interface is kept.

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