From 0c23fb8b146cab3fbc48d4f8d45aae501e599a8a Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Thu, 4 Oct 2007 16:26:39 -0700 Subject: Fix bgp cfg by calling the right script. --- templates/protocols/bgp/node.tag/neighbor/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/protocols/bgp') diff --git a/templates/protocols/bgp/node.tag/neighbor/node.def b/templates/protocols/bgp/node.tag/neighbor/node.def index 6d25e741..52c1f96a 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.def @@ -1,7 +1,7 @@ tag: type: txt help: "Specify neighbor router" -syntax: exec "/opt/vyatta/sbin/vyatta_bgp.pl --check-peer-name $(@)" +syntax: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-peer-name $(@)" # if this neighbor has a text name it is a peer group. setup the peer-group option create: "if [ -n \"`echo $(@) | sed 's/[0-9]\\{1,3\\}.[0-9]\\{1,3\\}.[0-9]\\{1,3\\}.[0-9]\\{1,3\\}//'`\" ]; then \ /usr/bin/vtysh -c \"configure terminal\" -c\"router bgp $(../@)\" -c\"neighbor $(@) peer-group\" ; \ -- cgit v1.2.3