summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-12 20:56:25 +0200
committerGitHub <noreply@github.com>2020-05-12 20:56:25 +0200
commitb27b759a236c0df5fc2b8006d93835a8c47df548 (patch)
tree4ca5894ce67fe1535572fdf09dceaec1ee9e4af8 /src/conf_mode
parent6346a5f1a08e878e51213031ac33dcec08e368cd (diff)
downloadvyos-1x-b27b759a236c0df5fc2b8006d93835a8c47df548.tar.gz
vyos-1x-b27b759a236c0df5fc2b8006d93835a8c47df548.zip
tunnel: T2449: bugfix KeyError 'address'
Commit 9e5c6a935e2f55 ("tunnel: T2449: set accept_ra=2 if ipv6 address autoconf or dhcpv6 is set") referenced wrong key in dict.
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/interfaces-tunnel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-tunnel.py b/src/conf_mode/interfaces-tunnel.py
index 3e8653d58..6018cfcd0 100755
--- a/src/conf_mode/interfaces-tunnel.py
+++ b/src/conf_mode/interfaces-tunnel.py
@@ -404,7 +404,7 @@ def get_config():
# to make IPv6 SLAAC and DHCPv6 work with forwarding=1,
# accept_ra must be 2
- if options['ipv6_autoconf'] or 'dhcpv6' in options['address']:
+ if options['ipv6_autoconf'] or 'dhcpv6' in options['address-add']:
options['ipv6_accept_ra'] = 2
# allmulticast fate is linked to multicast