diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-08 17:42:03 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-03-08 17:42:06 +0100 |
commit | 84cec1938dbb59590df46690bb2f0155850fd8b6 (patch) | |
tree | cca87e5a4f783134b25f7d2b72b3c5ee90a418dd /src/conf_mode | |
parent | ff2e8d333d659567132660d8a09094acf07eb8d3 (diff) | |
download | vyos-1x-84cec1938dbb59590df46690bb2f0155850fd8b6.tar.gz vyos-1x-84cec1938dbb59590df46690bb2f0155850fd8b6.zip |
wireless: T1627: configure own_ip_addr to be compliant with the RADIUS protocol
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/interfaces-wireless.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py index 0c6500578..9cbb4c1cd 100755 --- a/src/conf_mode/interfaces-wireless.py +++ b/src/conf_mode/interfaces-wireless.py @@ -640,6 +640,12 @@ wpa_key_mgmt=WPA-EAP # IP addresses, but this field can be used to force a specific address to be # used, e.g., when the device has multiple IP addresses. radius_client_addr={{ sec_wpa_radius_source }} + +# The own IP address of the access point (used as NAS-IP-Address) +own_ip_addr={{ sec_wpa_radius_source }} +{% else %} +# The own IP address of the access point (used as NAS-IP-Address) +own_ip_addr=127.0.0.1 {% endif %} {% for radius in sec_wpa_radius -%} |