diff options
author | Robert Bays <rbays@moresby.vyatta.com> | 2008-04-11 18:00:17 -0700 |
---|---|---|
committer | Robert Bays <rbays@moresby.vyatta.com> | 2008-04-11 18:00:17 -0700 |
commit | 8f99d7ffcc23ec90950b2c959ed74816553f53c7 (patch) | |
tree | 46bd08d52101a8003870b52a83f469da96b3df59 /templates | |
parent | 38fa1608498e7097ec968cb46bfab2c04e56ed6b (diff) | |
download | vyatta-cfg-quagga-8f99d7ffcc23ec90950b2c959ed74816553f53c7.tar.gz vyatta-cfg-quagga-8f99d7ffcc23ec90950b2c959ed74816553f53c7.zip |
add 2 lines acidentally deleted in last commit for attribute-unchanged
Diffstat (limited to 'templates')
-rw-r--r-- | templates/protocols/bgp/node.tag/neighbor/node.tag/attribute-unchanged/node.def | 2 |
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; |