summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_isis.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode/protocols_isis.py')
-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