diff options
author | Robert Bays <rbays@moresby.vyatta.com> | 2008-03-17 23:09:48 -0700 |
---|---|---|
committer | Robert Bays <rbays@moresby.vyatta.com> | 2008-03-17 23:09:48 -0700 |
commit | 4158c20355825cd0d8505f1307c2756877225f9f (patch) | |
tree | 39ade4d38bca2b4d1361c78e7efb3b12f8e548b6 /templates/protocols/bgp | |
parent | 775e849022773e681f6e975e04949d3930cde94d (diff) | |
download | vyatta-cfg-quagga-4158c20355825cd0d8505f1307c2756877225f9f.tar.gz vyatta-cfg-quagga-4158c20355825cd0d8505f1307c2756877225f9f.zip |
fix bgp and policy for match community and network backdoor
Diffstat (limited to 'templates/protocols/bgp')
-rw-r--r-- | templates/protocols/bgp/node.tag/network/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/bgp/node.tag/network/node.def b/templates/protocols/bgp/node.tag/network/node.def index c6061749..3d547a34 100644 --- a/templates/protocols/bgp/node.tag/network/node.def +++ b/templates/protocols/bgp/node.tag/network/node.def @@ -5,7 +5,7 @@ syntax:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --check-prefix- "Prefix doesn't fall on a natural boundry" commit:expression: !($VAR(./backdoor/) != "" && $VAR(./route-map/) != ""); - "May specify route-map or backdoor but not both" + "protocols bgp $VAR(../@) network $VAR(@): May specify route-map or backdoor but not both" delete: touch /tmp/`echo $VAR(@) | sed 's!/!!'`.$PPID @@ -24,7 +24,7 @@ end: ${vyatta_sbindir}/vyatta-vtysh.pl -noerr -c "configure terminal" -c "router fi ; if [ -n "$VAR(./route-map/@)" ]; then - COND="route-map $VAR(./route-map/@)"; + cond="route-map $VAR(./route-map/@)"; fi; ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "router bgp $VAR(../@)" -c "network $VAR(@) $cond"; |