diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-06-27 08:42:59 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-06-27 08:42:59 -0700 |
commit | 08d6b7f5f6a1e09c1b4321e4978a15b2a948d2fa (patch) | |
tree | 839ac19ee908cb9d25346d9b4890bc54d1a86197 /templates/policy | |
parent | 5d652ab30cef02a5f30784bb44c3adc9d04066a3 (diff) | |
download | vyatta-cfg-quagga-08d6b7f5f6a1e09c1b4321e4978a15b2a948d2fa.tar.gz vyatta-cfg-quagga-08d6b7f5f6a1e09c1b4321e4978a15b2a948d2fa.zip |
Fix 3344: Unable to delete route-map that contains a 'set metric <value>' statement
Diffstat (limited to 'templates/policy')
-rw-r--r-- | templates/policy/route-map/node.tag/rule/node.tag/set/metric/node.def | 2 |
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 " |