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.def4
1 files changed, 2 insertions, 2 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 da7b7864..69d55efc 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
@@ -35,13 +35,13 @@ syntax:expression: exec " \
delete: touch /tmp/static.$PPID
end: if [ -f "/tmp/static.$PPID" ]; then
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "no ip route $VAR(../@) $VAR(@)";
rm /tmp/static.$PPID;
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;