summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-25 23:26:31 +0200
committerGitHub <noreply@github.com>2023-07-25 23:26:31 +0200
commit688755a988e233e221bf920e391e35d5ddc9cb56 (patch)
tree8e48e90e85e5040cf27b019b1aeee06f1ac5d705
parentc473f6475f90d17529cc9e4da939560c04b60bda (diff)
parent20ac831df73aa89da4eb172bfb4d5f4256071983 (diff)
downloadvyos-1x-688755a988e233e221bf920e391e35d5ddc9cb56.tar.gz
vyos-1x-688755a988e233e221bf920e391e35d5ddc9cb56.zip
Merge pull request #2110 from jvoss/frr_static_interface_mangle
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