diff options
Diffstat (limited to 'python/vyos/ifconfig/bond.py')
-rw-r--r-- | python/vyos/ifconfig/bond.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/bond.py b/python/vyos/ifconfig/bond.py index 5c9a43c9b..193cea321 100644 --- a/python/vyos/ifconfig/bond.py +++ b/python/vyos/ifconfig/bond.py @@ -365,7 +365,7 @@ class BondIf(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() self.add_port(interface) # Primary device interface - must be set after 'mode' |