summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-09-21 22:21:12 +0200
committerChristian Poessinger <christian@poessinger.com>2020-09-21 22:21:13 +0200
commit79b1ab8dc67c9011a3d5e5397ad4d73a6c537d80 (patch)
tree3fe2ce42be3be7a2f396bd75087414858c8d963f /src
parentd22b476e0e1ca2a173ecf9c85596b4f02646e772 (diff)
downloadvyos-1x-79b1ab8dc67c9011a3d5e5397ad4d73a6c537d80.tar.gz
vyos-1x-79b1ab8dc67c9011a3d5e5397ad4d73a6c537d80.zip
bridge: ifconfig: T2653: only delete member interfaces which still exist
When removing e.g. a macsec interface and also its associated member interface from the bridge, it will happen that the macsec interface instance is long gone before we reach the code in the bridge interface which will remove it from the bridge itself. When this is the case, we can not call BridgeIf.del_port() as it will throw an exception that the interface does not exist. We now only remove a bridge member if the interface in question is still available in the kernel.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions