summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_bfd.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-11 10:07:42 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-11 10:08:38 +0100
commit7670dd86d9ba4bbf9a5b47b8ad72cf3c8537859f (patch)
tree9e5c1e12ebbf7d132ed26c4a8e77cf1c6dcd7cd7 /src/conf_mode/protocols_bfd.py
parent7d47524d1af1edb998fb136908f602d84786f87f (diff)
downloadvyos-1x-7670dd86d9ba4bbf9a5b47b8ad72cf3c8537859f.tar.gz
vyos-1x-7670dd86d9ba4bbf9a5b47b8ad72cf3c8537859f.zip
bfd: T3310: bugfix on profile names using hyphens
Diffstat (limited to 'src/conf_mode/protocols_bfd.py')
-rwxr-xr-xsrc/conf_mode/protocols_bfd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf_mode/protocols_bfd.py b/src/conf_mode/protocols_bfd.py
index 8593da170..4ebc0989c 100755
--- a/src/conf_mode/protocols_bfd.py
+++ b/src/conf_mode/protocols_bfd.py
@@ -35,7 +35,8 @@ def get_config(config=None):
conf = Config()
base = ['protocols', 'bfd']
bfd = conf.get_config_dict(base, key_mangling=('-', '_'),
- get_first_key=True)
+ get_first_key=True,
+ no_tag_node_value_mangle=True)
# Bail out early if configuration tree does not exist
if not conf.exists(base):
return bfd