From 696c9d7eac6609a469f1cac41d0c653c69a6dff7 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 31 Dec 2007 13:21:10 -0800 Subject: Fix superious error message that results from unnecessary "no network" command. --- templates/protocols/bgp/node.tag/network/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/protocols/bgp/node.tag/network/node.def b/templates/protocols/bgp/node.tag/network/node.def index 848728d9..5898708d 100644 --- a/templates/protocols/bgp/node.tag/network/node.def +++ b/templates/protocols/bgp/node.tag/network/node.def @@ -4,7 +4,7 @@ help: "Specify a network to announce via BGP" syntax: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --check-prefix-boundry $(@)" commit: !($(./backdoor/) != "" && $(./route-map/) != ""); "May specify route-map or backdoor but not both" delete: "touch /tmp/`echo $(@) | sed 's!/!!'`.\\$PPID" -end: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router bgp $(../@)\" \ +end: "\\${vyatta_sbindir}/vyatta-vtysh.pl -noerr -c \"configure terminal\" -c \"router bgp $(../@)\" \ -c \"no network $(@)\"; \ if [ -f \"/tmp/`echo $(@) | sed 's!/!!'`.\\$PPID\" ]; then \ rm -rf /tmp/`echo $(@) | sed 's!/!!'`.\\$PPID; \ -- cgit v1.2.3