summaryrefslogtreecommitdiff
path: root/templates/protocols
diff options
context:
space:
mode:
authorRobert Bays <rbays@moresby.vyatta.com>2008-03-28 11:51:40 -0700
committerRobert Bays <rbays@moresby.vyatta.com>2008-03-28 11:51:40 -0700
commit6f4c8265f09ac6d6efd113598bbd65454d7a4865 (patch)
treebef47c2742da7efc0aec2e6f79a675d842b3bcb6 /templates/protocols
parente73aa6e6d6fee1d51945f4e02901179ab97045d6 (diff)
downloadvyatta-cfg-quagga-6f4c8265f09ac6d6efd113598bbd65454d7a4865.tar.gz
vyatta-cfg-quagga-6f4c8265f09ac6d6efd113598bbd65454d7a4865.zip
fix bug 3074
Diffstat (limited to 'templates/protocols')
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/peer-group/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/peer-group/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/peer-group/node.def
index 56e957cf..5bedc010 100644
--- a/templates/protocols/bgp/node.tag/neighbor/node.tag/peer-group/node.def
+++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/peer-group/node.def
@@ -6,7 +6,7 @@ syntax:expression: exec "if [ -n \"`echo $VAR(../@) | sed 's/[0-9]\\{1,3\\}.[0-9
fi; "; "peer-group token may not be specified for a peer-group"
commit:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-as --peergroup=$VAR(@) --as $VAR(../../@) --neighbor $VAR(../@)"
commit:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"protocols bgp $VAR(../../@) neighbor $VAR(@)\" "; "protocols bgp $VAR(../../@) neighbor $VAR(../@) peer-group: peer-group $VAR(@) doesn't exist"
-update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal\" -c "router bgp $VAR(../../@)" \
+update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "router bgp $VAR(../../@)" \
-c "neighbor $VAR(../@) peer-group $VAR(@)"
delete: ${vyatta_sbindir}/vyatta-vtysh.pl -noerr -c "configure terminal" -c "router bgp $VAR(../../@)" \
-c "no neighbor $VAR(../@) peer-group $VAR(@)"