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 68934b565..530f55ce4 100755
--- a/src/conf_mode/protocols_isis.py
+++ b/src/conf_mode/protocols_isis.py
@@ -189,9 +189,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 \S+{vrf}$', '')
+ frr_cfg.modify_section(f'^router isis \S+ {vrf}', '')
for key in ['interface', 'interface_removed']:
if key not in isis:
continue