summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-l2tpv3.py
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-04-22 12:39:22 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-04-23 16:09:37 +0200
commit4940bea4f7b8574d30876fd3d0456e75f6f29877 (patch)
treee422582794edcdc00d14f3ae8578138da43eb6e6 /src/conf_mode/interfaces-l2tpv3.py
parentd6c08414d55eadd8232b693303f2b14bfe121c01 (diff)
downloadvyos-1x-4940bea4f7b8574d30876fd3d0456e75f6f29877.tar.gz
vyos-1x-4940bea4f7b8574d30876fd3d0456e75f6f29877.zip
interfaces: T2362: allow setting multiple 'ipv6 address eui64'
Diffstat (limited to 'src/conf_mode/interfaces-l2tpv3.py')
-rwxr-xr-xsrc/conf_mode/interfaces-l2tpv3.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-l2tpv3.py b/src/conf_mode/interfaces-l2tpv3.py
index 45b618148..a18cc6161 100755
--- a/src/conf_mode/interfaces-l2tpv3.py
+++ b/src/conf_mode/interfaces-l2tpv3.py
@@ -113,9 +113,9 @@ def get_config():
if conf.exists('ipv6 address autoconf'):
l2tpv3['ipv6_autoconf'] = 1
- # Get prefix for IPv6 addressing based on MAC address (EUI-64)
+ # Get prefixes for IPv6 addressing based on MAC address (EUI-64)
if conf.exists('ipv6 address eui64'):
- l2tpv3['ipv6_eui64_prefix'].append(conf.return_value('ipv6 address eui64'))
+ l2tpv3['ipv6_eui64_prefix'] = conf.return_values('ipv6 address eui64')
# add the link-local by default to make IPv6 work
l2tpv3['ipv6_eui64_prefix'].append('fe80::/64')