summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <mike@vyatta.com>2010-11-19 09:23:26 -0800
committerMichael <mike@vyatta.com>2010-11-19 09:23:26 -0800
commit3222b91b8d84e30953e3def1525a78747f857eb8 (patch)
treec02cd8211087ec9eb655ddb471d2a0b248dc341e
parent2afe18d54a8cb20edd63c9814134bfbf2f2172ef (diff)
downloadvyatta-cfg-quagga-3222b91b8d84e30953e3def1525a78747f857eb8.tar.gz
vyatta-cfg-quagga-3222b91b8d84e30953e3def1525a78747f857eb8.zip
Need to skip LAST node tag when configuring bgp node, but let all others through.
-rw-r--r--templates/protocols/bgp/node.def3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/protocols/bgp/node.def b/templates/protocols/bgp/node.def
index 3f55aab6..01f75f02 100644
--- a/templates/protocols/bgp/node.def
+++ b/templates/protocols/bgp/node.def
@@ -9,7 +9,6 @@ syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294 ; \
end:
-if [ "$COMMIT_SIBLING_POSITION" = "FIRST" ] || \
- [ "$COMMIT_SIBLING_POSITION" = "FIRSTLAST" ] ; then
+if [ "$COMMIT_SIBLING_POSITION" != "LAST" ] ; then
/opt/vyatta/sbin/vyatta-bgp.pl --main
fi;