From 8fee61a7f316d9ad82f03627b85ce3a016170a32 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 3 Dec 2007 17:03:53 -0800 Subject: Fix "bgp soft-reconfiguration inbound". --- .../node.tag/neighbor/node.tag/soft-reconfiguration/inbound/node.def | 4 ++-- .../bgp/node.tag/neighbor/node.tag/soft-reconfiguration/node.def | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/protocols') diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/soft-reconfiguration/inbound/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/soft-reconfiguration/inbound/node.def index b4c0da6b..74770baf 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.tag/soft-reconfiguration/inbound/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/soft-reconfiguration/inbound/node.def @@ -7,7 +7,7 @@ update: "if [ -n \"$(../../remote-as/@)\" ]; then \ fi; \ /usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../../../@)\" \ -c \"neighbor $(../../@) \\$peer\" \ - -c \"no neighbor $(../../@) soft-reconfiguration inbound \" " -delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../../../@)\" \ -c \"neighbor $(../../@) soft-reconfiguration inbound \" " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../../../@)\" \ + -c \"no neighbor $(../../@) soft-reconfiguration inbound \" " diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/soft-reconfiguration/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/soft-reconfiguration/node.def index e2400e17..25ab9d17 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.tag/soft-reconfiguration/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/soft-reconfiguration/node.def @@ -1,2 +1,2 @@ help: "Per neighbor soft reconfiguration" -commit: $(./inbound/@) != ""; "You must specify the type of soft-reconfiguration" +commit: $(./inbound/) != ""; "You must specify the type of soft-reconfiguration" -- cgit v1.2.3