summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-09 20:09:21 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-09 20:09:21 +0100
commitf79339803b8093a6cac1c31a0036af51003bf2fb (patch)
tree940730e874aa62787991d671a801026382292199 /templates
parent977ee2e0ccfe4e67dfc503fe417cae7c0b5fc943 (diff)
downloadvyatta-cfg-quagga-f79339803b8093a6cac1c31a0036af51003bf2fb.tar.gz
vyatta-cfg-quagga-f79339803b8093a6cac1c31a0036af51003bf2fb.zip
vrf: T31: fix bug when deleting old route with a next-hop-interface
Diffstat (limited to 'templates')
-rw-r--r--templates/protocols/vrf/node.tag/static/route/node.tag/next-hop/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/protocols/vrf/node.tag/static/route/node.tag/next-hop/node.def b/templates/protocols/vrf/node.tag/static/route/node.tag/next-hop/node.def
index 30b9cfd9..ec7a9eed 100644
--- a/templates/protocols/vrf/node.tag/static/route/node.tag/next-hop/node.def
+++ b/templates/protocols/vrf/node.tag/static/route/node.tag/next-hop/node.def
@@ -8,7 +8,7 @@ end:
### remove the old entry from frr first on an update
if [ ${COMMIT_ACTION} = 'ACTIVE' ]
then
- OLD_IF=`cli-shell-api returnEffectiveValue protocols static route $VAR(../@) next-hop $VAR(@) next-hop-interface`
+ OLD_IF=`cli-shell-api returnEffectiveValue protocols vrf $VRF_NAME static route $VAR(../@) next-hop $VAR(@) next-hop-interface`
vtysh -c "configure terminal" \
-c "no ip route $VAR(../@) $VAR(@) $OLD_IF vrf $VRF_NAME $VAR(./distance/@)";
fi