summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 "