summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Larson <mike@vyatta.com>2010-11-18 16:47:34 -0800
committerMichael Larson <mike@vyatta.com>2010-11-18 16:47:34 -0800
commit64ae8ae1477474ca94c432a6664a73cba220fd36 (patch)
tree9c1135759de778d72361955e20fae8eeb575767f
parent1c6ad88a2983d553a21752c2e9ec8f112f25535d (diff)
downloadvyatta-cfg-quagga-64ae8ae1477474ca94c432a6664a73cba220fd36.tar.gz
vyatta-cfg-quagga-64ae8ae1477474ca94c432a6664a73cba220fd36.zip
fix for 6069
-rw-r--r--templates/protocols/bgp/node.def7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/protocols/bgp/node.def b/templates/protocols/bgp/node.def
index 3e9e6b51..3f55aab6 100644
--- a/templates/protocols/bgp/node.def
+++ b/templates/protocols/bgp/node.def
@@ -7,4 +7,9 @@ val_help: u32:1-4294967294; AS number
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294 ; \
"AS number must be between 1 and 4294967294"
-end: /opt/vyatta/sbin/vyatta-bgp.pl --main
+end:
+
+if [ "$COMMIT_SIBLING_POSITION" = "FIRST" ] || \
+ [ "$COMMIT_SIBLING_POSITION" = "FIRSTLAST" ] ; then
+ /opt/vyatta/sbin/vyatta-bgp.pl --main
+fi;