From 1b52729976a4520c2beb6db7ffc622dd57d5fe68 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Tue, 22 Jan 2008 14:23:21 -0800 Subject: Ignore spurious error message from 'set bgp <> aggregate-address' --- templates/protocols/bgp/node.tag/aggregate-address/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/protocols/bgp') diff --git a/templates/protocols/bgp/node.tag/aggregate-address/node.def b/templates/protocols/bgp/node.tag/aggregate-address/node.def index 8a92ef2c..71d96db6 100644 --- a/templates/protocols/bgp/node.tag/aggregate-address/node.def +++ b/templates/protocols/bgp/node.tag/aggregate-address/node.def @@ -3,7 +3,7 @@ type: ipv4net help: "Configure BGP aggregate entries" syntax: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --check-prefix-boundry $(@)" 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 aggregate-address $(@)\"; \ if [ -f \"/tmp/`echo $(@) | sed 's!/!!'`.\\$PPID\" ]; then \ rm -rf /tmp/`echo $(@) | sed 's!/!!'`.\\$PPID; \ -- cgit v1.2.3