summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.def3
-rw-r--r--templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/node.def2
2 files changed, 3 insertions, 2 deletions
diff --git a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.def b/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.def
index 3a5c98de..afaad490 100644
--- a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.def
+++ b/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.def
@@ -13,7 +13,8 @@ end:expression: "\
vtysh -c \"configure terminal\" \
-c \"router ospf\" \
-c \"no area $VAR(../../../../@) \
- virtual-link $VAR(../../../@) message-digest-key $VAR(@)\"; \
+ virtual-link $VAR(../../../@) message-digest-key $VAR(@) \
+ md5 _\"; \
rm /tmp/ospf-md5.$PPID; \
else \
vtysh -c \"configure terminal\" \
diff --git a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/node.def b/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/node.def
index 312efb87..e04a2036 100644
--- a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/node.def
+++ b/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/node.def
@@ -4,7 +4,7 @@ commit:expression: $VAR(../plaintext-password/) == "" ; "plaintext-password alre
create: vtysh -c "configure terminal" \
-c "router ospf" \
-c "no area $VAR(../../../@) virtual-link $VAR(../../@) \
- authentication-key" \
+ authentication-key _" \
-c "area $VAR(../../../@) virtual-link $VAR(../../@) \
authentication message-digest";