summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Voss <jvoss@onvox.net>2023-07-25 14:25:42 -0500
committerJonathan Voss <jvoss@onvox.net>2023-07-25 15:46:44 -0500
commit20ac831df73aa89da4eb172bfb4d5f4256071983 (patch)
tree8e48e90e85e5040cf27b019b1aeee06f1ac5d705
parentc473f6475f90d17529cc9e4da939560c04b60bda (diff)
downloadvyos-1x-20ac831df73aa89da4eb172bfb4d5f4256071983.tar.gz
vyos-1x-20ac831df73aa89da4eb172bfb4d5f4256071983.zip
static: T5398: do not mangle interface names in FRR
-rwxr-xr-xsrc/conf_mode/protocols_static.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/protocols_static.py b/src/conf_mode/protocols_static.py
index 7b6150696..5def8d645 100755
--- a/src/conf_mode/protocols_static.py
+++ b/src/conf_mode/protocols_static.py
@@ -47,7 +47,7 @@ def get_config(config=None):
base_path = ['protocols', 'static']
# eqivalent of the C foo ? 'a' : 'b' statement
base = vrf and ['vrf', 'name', vrf, 'protocols', 'static'] or base_path
- static = conf.get_config_dict(base, key_mangling=('-', '_'), get_first_key=True)
+ static = conf.get_config_dict(base, key_mangling=('-', '_'), get_first_key=True, no_tag_node_value_mangle=True)
# Assign the name of our VRF context
if vrf: static['vrf'] = vrf