diff options
-rw-r--r-- | templates/protocols/vrf/node.tag/static/route/node.tag/next-hop/node.def | 2 |
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 |