diff options
author | DmitriyEshenko <snooppy@mail.ua> | 2019-10-16 22:07:56 +0000 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-10-17 20:29:43 +0200 |
commit | 6dc4156ccfa72dc5d3c0d649353f243dcb392934 (patch) | |
tree | 1a13a9ef67557eae82cae53ae63abee66e63e70a | |
parent | 7abe747038ae99bae80c32d92fa1a352898153f0 (diff) | |
download | vyatta-cfg-quagga-6dc4156ccfa72dc5d3c0d649353f243dcb392934.tar.gz vyatta-cfg-quagga-6dc4156ccfa72dc5d3c0d649353f243dcb392934.zip |
T1740 Fixed OSPFv2 virtual-link authentication
(cherry picked from commit 716e78fa6d52e873b347180087faa461d7511d80)
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"; |