diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-11 17:50:11 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-11 17:50:11 +0200 |
commit | a7fe78a0d35b2cf5e65fc4fba4ed94c5ef9d3980 (patch) | |
tree | b40227ab2581f4350184fa5637649a5778821b37 | |
parent | e9eb40338b74b6266616017ef802cc3d2789ab89 (diff) | |
download | vyos-1x-a7fe78a0d35b2cf5e65fc4fba4ed94c5ef9d3980.tar.gz vyos-1x-a7fe78a0d35b2cf5e65fc4fba4ed94c5ef9d3980.zip |
wireless: T2449: set accept_ra on wireless interfaces
-rwxr-xr-x | src/conf_mode/interfaces-wireless.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py index 03f66dd81..70d46d061 100755 --- a/src/conf_mode/interfaces-wireless.py +++ b/src/conf_mode/interfaces-wireless.py @@ -88,6 +88,7 @@ default_config_data = { 'ip_enable_arp_announce': 0, 'ip_enable_arp_ignore': 0, 'ip_proxy_arp': 0, + 'ipv6_accept_ra': 1, 'ipv6_autoconf': 0, 'ipv6_eui64_prefix': [], 'ipv6_eui64_prefix_remove': [], @@ -647,6 +648,8 @@ def apply(wifi): w.set_arp_announce(wifi['ip_enable_arp_announce']) # configure ARP ignore w.set_arp_ignore(wifi['ip_enable_arp_ignore']) + # IPv6 accept RA + w.set_ipv6_accept_ra(wifi['ipv6_accept_ra']) # IPv6 address autoconfiguration w.set_ipv6_autoconf(wifi['ipv6_autoconf']) # IPv6 forwarding |