summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Bays <rbays@moresby.vyatta.com>2008-04-11 18:00:17 -0700
committerRobert Bays <rbays@moresby.vyatta.com>2008-04-11 18:00:17 -0700
commit8f99d7ffcc23ec90950b2c959ed74816553f53c7 (patch)
tree46bd08d52101a8003870b52a83f469da96b3df59
parent38fa1608498e7097ec968cb46bfab2c04e56ed6b (diff)
downloadvyatta-cfg-quagga-8f99d7ffcc23ec90950b2c959ed74816553f53c7.tar.gz
vyatta-cfg-quagga-8f99d7ffcc23ec90950b2c959ed74816553f53c7.zip
add 2 lines acidentally deleted in last commit for attribute-unchanged
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/attribute-unchanged/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/attribute-unchanged/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/attribute-unchanged/node.def
index a0de96f2..229827da 100644
--- a/templates/protocols/bgp/node.tag/neighbor/node.tag/attribute-unchanged/node.def
+++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/attribute-unchanged/node.def
@@ -20,6 +20,8 @@ end: ${vyatta_sbindir}/vyatta-vtysh.pl -noerr -c "configure terminal" -c "route
if [ $? -eq 0 ]; then
cond="$cond next-hop " ;
fi ;
+ if [ -n "$VAR(../remote-as/@)" ]; then
+ peer="remote-as $VAR(../remote-as/@)";
else
peer="peer-group $VAR(../peer-group/@)";
fi;