summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-24 17:49:02 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-24 17:49:18 +0100
commit064d0a4488392ea3c3bd458075dc0d754e0c0363 (patch)
tree3cb07cca67e03e1ff4d61a9059e356b382baaf2d /src/conf_mode
parent90ecb7ec0e75596d5ec69b119954313c0cb77a43 (diff)
downloadvyos-1x-064d0a4488392ea3c3bd458075dc0d754e0c0363.tar.gz
vyos-1x-064d0a4488392ea3c3bd458075dc0d754e0c0363.zip
Revert "isis: T3417: add workaround for FRR issue"
This reverts commit d89455ee7f5dc21d00bbeddd57eaee2e32f45f99.
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/protocols_isis.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/protocols_isis.py b/src/conf_mode/protocols_isis.py
index 0fc02f953..02cf9970c 100755
--- a/src/conf_mode/protocols_isis.py
+++ b/src/conf_mode/protocols_isis.py
@@ -191,9 +191,9 @@ def apply(isis):
# it will be either empty (default VRF) or contain the "vrf <name" statement
vrf = ''
if 'vrf' in isis:
- vrf = 'vrf ' + isis['vrf']
+ vrf = ' vrf ' + isis['vrf']
- frr_cfg.modify_section(f'^router isis VyOS {vrf}', '')
+ frr_cfg.modify_section(f'^router isis VyOS{vrf}$', '')
for key in ['interface', 'interface_removed']:
if key not in isis:
continue