summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRobert Bays <rbays@moresby.(none)>2007-11-12 15:57:23 -0800
committerRobert Bays <rbays@moresby.(none)>2007-11-12 15:57:23 -0800
commit89ab190688344f11968f2809d4a9278b99eb99c3 (patch)
tree085f72700be1dca8c28b6b7110ee4fdd02b8414e /templates
parent7efa91641403204640a43d115167b7fea4058e27 (diff)
downloadvyatta-cfg-quagga-89ab190688344f11968f2809d4a9278b99eb99c3.tar.gz
vyatta-cfg-quagga-89ab190688344f11968f2809d4a9278b99eb99c3.zip
fix bgp network template
Diffstat (limited to 'templates')
-rw-r--r--templates/protocols/bgp/node.tag/network/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/protocols/bgp/node.tag/network/node.def b/templates/protocols/bgp/node.tag/network/node.def
index a0a61b2d..e5620244 100644
--- a/templates/protocols/bgp/node.tag/network/node.def
+++ b/templates/protocols/bgp/node.tag/network/node.def
@@ -2,7 +2,7 @@ tag:
type: ipv4net
help: "Specify a network to announce via BGP"
syntax: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --check-prefix-boundry $(@)"
-syntax: ($(./backdoor/) != "") && ($(./route-map/) != ""); "Must specify route-map or backdoor but not both"
+syntax: ($(./backdoor/) == "") && ($(./route-map/) == ""); "Must specify route-map or backdoor but not both"
delete: "touch /tmp/`echo $(@) | sed 's!/!!'`.\\$PPID"
end: "/usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../@)\" \
-c \"no network $(@)\"; \