From b27b759a236c0df5fc2b8006d93835a8c47df548 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 12 May 2020 20:56:25 +0200 Subject: 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. --- src/conf_mode/interfaces-tunnel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3