summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/bridge.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos/ifconfig/bridge.py')
-rw-r--r--python/vyos/ifconfig/bridge.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/bridge.py b/python/vyos/ifconfig/bridge.py
index e4ae0a80a..466e6b682 100644
--- a/python/vyos/ifconfig/bridge.py
+++ b/python/vyos/ifconfig/bridge.py
@@ -240,7 +240,7 @@ class BridgeIf(Interface):
# if we've come here we already verified the interface
# does not have an addresses configured so just flush
# any remaining ones
- self.flush_addrs(interface)
+ Interface(interface).flush_addrs()
# enslave interface port to bridge
self.add_port(interface)