summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-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\" "