From 5670867cd76ecc432374755c877270f6ff8a4e33 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 31 Mar 2009 09:52:10 -0700 Subject: Fix template for soft-reconfiguration Fixing vyatta-bgp checker found a bug in this template. Template refered to wrong node in commit check. It would do: vyatta-bgp.pl --check-as --as --neighbor soft-reconfiguration --- .../node.tag/neighbor/node.tag/soft-reconfiguration/inbound/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 841f4e57..f52c6702 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 @@ -1,6 +1,6 @@ help: Set inbound soft reconfiguration for this neighbor commit:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-as \ - --as $VAR(../../@) --neighbor $VAR(../@)" + --as $VAR(../../../@) --neighbor $VAR(../../@)" update: if [ -n "$VAR(../../remote-as/@)" ]; then peer="remote-as $VAR(../../remote-as/@)"; -- cgit v1.2.3