diff options
author | Robert Bays <rbays@moresby.vyatta.com> | 2008-03-07 16:04:31 -0800 |
---|---|---|
committer | Robert Bays <rbays@moresby.vyatta.com> | 2008-03-07 16:04:31 -0800 |
commit | 710e4f9bd7dff504a70b9dd8c65cfefab176d8c6 (patch) | |
tree | 6df067575e72d9fd61f035540f758ba8ba6406f8 | |
parent | 90499a83317bd972e7b731aa9d68a11ea2080145 (diff) | |
parent | 90cf3628ebd7930cf1f2b1c8b1abfe8b8ba72e03 (diff) | |
download | vyatta-cfg-quagga-710e4f9bd7dff504a70b9dd8c65cfefab176d8c6.tar.gz vyatta-cfg-quagga-710e4f9bd7dff504a70b9dd8c65cfefab176d8c6.zip |
Merge branch 'glendale' of http://git.vyatta.com/vyatta-cfg-quagga into glendale
-rw-r--r-- | templates/protocols/bgp/node.tag/neighbor/node.tag/update-source/node.def | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/update-source/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/update-source/node.def index afa51402..f2917508 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.tag/update-source/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/update-source/node.def @@ -1,4 +1,4 @@ -type: txt +type: ipv4 help: Source of routing updates syntax:expression: exec " \ if [ -z \"`ip addr | grep $VAR(@) `\" ]; then \ @@ -6,7 +6,7 @@ syntax:expression: exec " \ exit 1 ; \ fi ; " commit:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-as --as $VAR(../../@) --neighbor $VAR(../@)" -update:expression: "if [ -n \"$VAR(../remote-as/@)\" ]; then \ +exupdate:expression: "if [ -n \"$VAR(../remote-as/@)\" ]; then \ peer=\"remote-as $VAR(../remote-as/@)\"; \ else \ peer=\"peer-group $VAR(../peer-group/@)\"; \ @@ -15,4 +15,4 @@ update:expression: "if [ -n \"$VAR(../remote-as/@)\" ]; then \ -c \"neighbor $VAR(../@) $peer\" \ -c \"neighbor $VAR(../@) update-source $VAR(@)\" " delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -noerr -c \"configure terminal\" -c \"router bgp $VAR(../../@)\" \ - -c \"no neighbor $VAR(../@) update-source $VAR(@)\" " + -c \"no neighbor $VAR(../@) update-source\" " |