diff options
author | Christian Breunig <christian@breunig.cc> | 2023-05-14 16:13:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-14 16:13:40 +0200 |
commit | 9e287778e073ee64333120bb58bca08727846aea (patch) | |
tree | d7383b41d70fc8bee2282614e075cf6d7a959791 /python/vyos/ifconfig/interface.py | |
parent | aea89228d8c14ae0a11c5506a9c636200be97cfb (diff) | |
parent | b9c438a6758b0511bea108af952a6492ca845737 (diff) | |
download | vyos-1x-9e287778e073ee64333120bb58bca08727846aea.tar.gz vyos-1x-9e287778e073ee64333120bb58bca08727846aea.zip |
Merge pull request #2007 from frebib/veth-netns-revert
Revert "veth: T3829: Allow moving veth into netns"
Diffstat (limited to 'python/vyos/ifconfig/interface.py')
-rw-r--r-- | python/vyos/ifconfig/interface.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/interface.py b/python/vyos/ifconfig/interface.py index 2f1d5eb96..f62b9f7d2 100644 --- a/python/vyos/ifconfig/interface.py +++ b/python/vyos/ifconfig/interface.py @@ -532,7 +532,7 @@ class Interface(Control): return None # As a PoC we only allow 'dummy' interfaces - if not ('dum' in self.ifname or 'veth' in self.ifname): + if 'dum' not in self.ifname: return None # Check if interface realy exists in namespace |