summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-06-27 08:42:59 -0700
committerStig Thormodsrud <stig@vyatta.com>2008-06-27 08:42:59 -0700
commit08d6b7f5f6a1e09c1b4321e4978a15b2a948d2fa (patch)
tree839ac19ee908cb9d25346d9b4890bc54d1a86197
parent5d652ab30cef02a5f30784bb44c3adc9d04066a3 (diff)
downloadvyatta-cfg-quagga-08d6b7f5f6a1e09c1b4321e4978a15b2a948d2fa.tar.gz
vyatta-cfg-quagga-08d6b7f5f6a1e09c1b4321e4978a15b2a948d2fa.zip
Fix 3344: Unable to delete route-map that contains a 'set metric <value>' statement
-rw-r--r--templates/policy/route-map/node.tag/rule/node.tag/set/metric/node.def2
1 files changed, 1 insertions, 1 deletions
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 "