diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-09-15 15:35:27 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-09-20 21:28:53 +0200 |
commit | 738b62f0fb410daf1dbe97ad8aed9d862b44ec94 (patch) | |
tree | 725c3e5fd992c1783cb28d1eb1d765fbb704c1ef /python/vyos | |
parent | 8fe9187419fc77df156bb0cbba3a5ca1d61cc36f (diff) | |
download | vyos-1x-738b62f0fb410daf1dbe97ad8aed9d862b44ec94.tar.gz vyos-1x-738b62f0fb410daf1dbe97ad8aed9d862b44ec94.zip |
ethernet: T1637: call remove() on interface deletion
Diffstat (limited to 'python/vyos')
-rw-r--r-- | python/vyos/ifconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig.py b/python/vyos/ifconfig.py index 980577965..c0d1660d1 100644 --- a/python/vyos/ifconfig.py +++ b/python/vyos/ifconfig.py @@ -130,7 +130,7 @@ class Interface: self._del_dhcpv6() # Ethernet interfaces can not be removed - if type(self) == type(EthernetIf): + if type(self) == type(EthernetIf(self._ifname)): return # NOTE (Improvement): |