From 08d6b7f5f6a1e09c1b4321e4978a15b2a948d2fa Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Fri, 27 Jun 2008 08:42:59 -0700 Subject: Fix 3344: Unable to delete route-map that contains a 'set metric ' statement --- templates/policy/route-map/node.tag/rule/node.tag/set/metric/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/policy') diff --git a/templates/policy/route-map/node.tag/rule/node.tag/set/metric/node.def b/templates/policy/route-map/node.tag/rule/node.tag/set/metric/node.def index 97a1bacc..2209f39e 100644 --- a/templates/policy/route-map/node.tag/rule/node.tag/set/metric/node.def +++ b/templates/policy/route-map/node.tag/rule/node.tag/set/metric/node.def @@ -7,6 +7,6 @@ commit:expression: $VAR(../../action/) != ""; "policy route-map $VAR(../../../@) update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \ -c "route-map $VAR(../../../@) $VAR(../../action/@) $VAR(../../@)" \ -c "set metric $VAR(@)" -delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \ +delete: ${vyatta_sbindir}/vyatta-vtysh.pl -noerr -c "configure terminal" \ -c "route-map $VAR(../../../@) $VAR(../../action/@) $VAR(../../@)" \ -c "no set metric " -- cgit v1.2.3