summaryrefslogtreecommitdiff
path: root/src/conf_mode/dhcpv6_server.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-18 16:43:37 +0200
committerGitHub <noreply@github.com>2022-04-18 16:43:37 +0200
commit4a8dd6bccfde210c944ac83af105b133847eda65 (patch)
tree110499f16da48dfe80866f053271efee768bd2da /src/conf_mode/dhcpv6_server.py
parentbd50d51f1e49724c9a01e9ce5c0aefa04ec3e913 (diff)
parentf71f9b4a2c40ae4d617f7ddefbdaabb136e887b3 (diff)
downloadvyos-1x-4a8dd6bccfde210c944ac83af105b133847eda65.tar.gz
vyos-1x-4a8dd6bccfde210c944ac83af105b133847eda65.zip
Merge pull request #1288 from sever-sever/T4344-equl
dhcp-server: T4344: Fix underscores for shared network name
Diffstat (limited to 'src/conf_mode/dhcpv6_server.py')
-rwxr-xr-xsrc/conf_mode/dhcpv6_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/dhcpv6_server.py b/src/conf_mode/dhcpv6_server.py
index e6a2e4486..be1e6db1e 100755
--- a/src/conf_mode/dhcpv6_server.py
+++ b/src/conf_mode/dhcpv6_server.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (C) 2018-2020 VyOS maintainers and contributors
+# Copyright (C) 2018-2022 VyOS maintainers and contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 or later as
@@ -41,7 +41,7 @@ def get_config(config=None):
if not conf.exists(base):
return None
- dhcpv6 = conf.get_config_dict(base, key_mangling=('-', '_'), get_first_key=True)
+ dhcpv6 = conf.get_config_dict(base, key_mangling=('-', '_'), get_first_key=True, no_tag_node_value_mangle=True)
return dhcpv6
def verify(dhcpv6):