summaryrefslogtreecommitdiff
path: root/templates/protocols/bgp
diff options
context:
space:
mode:
authorRobert Bays <rbays@moresby.(none)>2007-11-26 17:17:11 -0800
committerRobert Bays <rbays@moresby.(none)>2007-11-26 17:17:11 -0800
commita20d25171360ec0252880fb6a1f02e970dec4d07 (patch)
treeeb45930048412e094dc26a8c54a9900ac551dff0 /templates/protocols/bgp
parent8306b478bee23055c5b0c47991ca5f35225e885d (diff)
downloadvyatta-cfg-quagga-a20d25171360ec0252880fb6a1f02e970dec4d07.tar.gz
vyatta-cfg-quagga-a20d25171360ec0252880fb6a1f02e970dec4d07.zip
fix bgp neighbor route-map export
Diffstat (limited to 'templates/protocols/bgp')
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/route-map/export/node.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/route-map/export/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/route-map/export/node.def
index 913dc1cf..0dc4c4ec 100644
--- a/templates/protocols/bgp/node.tag/neighbor/node.tag/route-map/export/node.def
+++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/route-map/export/node.def
@@ -1,5 +1,5 @@
type: txt
-help: "Route-map to apply to incoming updates"
+help: "Route-map to apply to outgoing updates"
commit: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-as --as $(../../../@) --neighbor $(../../@)"
commit: $(../../peer-group/) == ""; "You can't set a route-map for neighbor $(../../@) in peer-group $(../../peer-group/@)"
commit: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy route-map $(@)\" ";"route-map $(@) doesn't exist"
@@ -10,7 +10,7 @@ update: "if [ -n \"$(../../remote-as/@)\" ]; then \
fi; \
/usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../../../@)\" \
-c \"neighbor $(../../@) \\$peer\" \
- -c \"neighbor $(../../@) route-map $(@) in\" "
+ -c \"neighbor $(../../@) route-map $(@) out\" "
delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../../../@)\" \
- -c \"no neighbor $(../../@) route-map $(@) in\" "
+ -c \"no neighbor $(../../@) route-map $(@) out\" "