summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-wireless.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-09-24 19:55:54 +0200
committerChristian Poessinger <christian@poessinger.com>2020-09-24 19:55:54 +0200
commit806f35b5856c3f8dae634718a6a9e82cc90bb63a (patch)
treed8b69373fb15a720a405b5b479244952e90e6970 /src/conf_mode/interfaces-wireless.py
parent58ead7415a3fe8d786bdb6fd2a99d0a57770dbd7 (diff)
downloadvyos-1x-806f35b5856c3f8dae634718a6a9e82cc90bb63a.tar.gz
vyos-1x-806f35b5856c3f8dae634718a6a9e82cc90bb63a.zip
wireless: T2241: add "wds" CLI option
Diffstat (limited to 'src/conf_mode/interfaces-wireless.py')
-rwxr-xr-xsrc/conf_mode/interfaces-wireless.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py
index be59b72b5..f8520aecf 100755
--- a/src/conf_mode/interfaces-wireless.py
+++ b/src/conf_mode/interfaces-wireless.py
@@ -240,6 +240,7 @@ def apply(wifi):
# Assign WiFi instance configuration parameters to config dict
conf['phy'] = wifi['physical_device']
+ conf['wds'] = 'on' if 'wds' in wifi else 'off'
# Finally create the new interface
w = WiFiIf(interface, **conf)