summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/bridge.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-03 19:56:20 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-03 19:56:20 +0100
commit620271eca13b3535472243f98bca766ed6ec19ed (patch)
treefe34254922c1deb9521f20b3ab4a578721a34813 /python/vyos/ifconfig/bridge.py
parent0ec4ad03abb952fbc817df4bbaaf4ab05fbc9753 (diff)
parent01e3d935a34f38e48364724da1cad7cbbb18576e (diff)
downloadvyos-1x-620271eca13b3535472243f98bca766ed6ec19ed.tar.gz
vyos-1x-620271eca13b3535472243f98bca766ed6ec19ed.zip
Merge branch 'wifi-wpa3' of github.com:c-po/vyos-1x into current
* 'wifi-wpa3' of github.com:c-po/vyos-1x: wireless: T3042: move wifi-regulatory-domain into individual interface definition wireless: T2653: reset wireless priority to crux state wireless: T3034: add WPA3 support wireless: T3043: rename "wpa mode both" to "wpa+wpa2" ifconfig: T2985: fix wireless-bridge creation
Diffstat (limited to 'python/vyos/ifconfig/bridge.py')
-rw-r--r--python/vyos/ifconfig/bridge.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/vyos/ifconfig/bridge.py b/python/vyos/ifconfig/bridge.py
index f7388b298..bd43d4874 100644
--- a/python/vyos/ifconfig/bridge.py
+++ b/python/vyos/ifconfig/bridge.py
@@ -177,6 +177,10 @@ class BridgeIf(Interface):
>>> BridgeIf('br0').add_port('eth0')
>>> BridgeIf('br0').add_port('eth1')
"""
+ # Bridge port handling of wireless interfaces is done by hostapd.
+ if 'wlan' in interface:
+ return
+
return self.set_interface('add_port', interface)
def del_port(self, interface):