diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2007-12-31 13:21:10 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2007-12-31 13:21:10 -0800 |
commit | 696c9d7eac6609a469f1cac41d0c653c69a6dff7 (patch) | |
tree | 60bd71cccca2346df2de8043cd373e002daeb9bd /templates/protocols/bgp | |
parent | 9c9ffc11c9d1c1d3e87ee83a3e9e50e1c70f6ae6 (diff) | |
download | vyatta-cfg-quagga-696c9d7eac6609a469f1cac41d0c653c69a6dff7.tar.gz vyatta-cfg-quagga-696c9d7eac6609a469f1cac41d0c653c69a6dff7.zip |
Fix superious error message that results from unnecessary "no network" command.
Diffstat (limited to 'templates/protocols/bgp')
-rw-r--r-- | templates/protocols/bgp/node.tag/network/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
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; \ |