summaryrefslogtreecommitdiff
path: root/templates/protocols/static/interface-route
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/static/interface-route')
-rw-r--r--templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def b/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def
index 386874ec..7c0a0299 100644
--- a/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def
+++ b/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def
@@ -11,17 +11,17 @@ end:
then
if [[ ${COMMIT_ACTION} = 'DELETE' ]]
then
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "no ip route $VAR(../@) $VAR(@)"
else
if [[ -n "$VAR(./distance/@)" ]]
then
DIST="$VAR(./distance/@)"
fi
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "ip route $VAR(../@) $VAR(@) $DIST";
fi
else
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "no ip route $VAR(../@) $VAR(@)"
fi