From a20d25171360ec0252880fb6a1f02e970dec4d07 Mon Sep 17 00:00:00 2001 From: Robert Bays Date: Mon, 26 Nov 2007 17:17:11 -0800 Subject: fix bgp neighbor route-map export --- .../bgp/node.tag/neighbor/node.tag/route-map/export/node.def | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/protocols/bgp') 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\" " -- cgit v1.2.3