diff options
Diffstat (limited to 'templates/protocols/static/route6')
-rw-r--r-- | templates/protocols/static/route6/node.tag/blackhole/node.def | 4 | ||||
-rw-r--r-- | templates/protocols/static/route6/node.tag/next-hop/node.def | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/protocols/static/route6/node.tag/blackhole/node.def b/templates/protocols/static/route6/node.tag/blackhole/node.def index bea74143..bd8601d5 100644 --- a/templates/protocols/static/route6/node.tag/blackhole/node.def +++ b/templates/protocols/static/route6/node.tag/blackhole/node.def @@ -2,13 +2,13 @@ help: Set to silently discard pkts when matched delete:expression: "touch /tmp/static.$PPID" end: if [ -f "/tmp/static.$PPID" ]; then - vtysh -c "configure terminal" \ + vyatta-vtysh -c "configure terminal" \ -c "no ipv6 route $VAR(../@) null0"; rm /tmp/static.$PPID; else if [ -n "$VAR(./distance/@)" ]; then DIST="$VAR(./distance/@)"; fi; - vtysh -c "configure terminal" \ + vyatta-vtysh -c "configure terminal" \ -c "ipv6 route $VAR(../@) null0 $DIST"; fi; diff --git a/templates/protocols/static/route6/node.tag/next-hop/node.def b/templates/protocols/static/route6/node.tag/next-hop/node.def index 1ec321fd..3f9cd440 100644 --- a/templates/protocols/static/route6/node.tag/next-hop/node.def +++ b/templates/protocols/static/route6/node.tag/next-hop/node.def @@ -4,12 +4,12 @@ help: Set the next-hop IPv6 router delete: touch /tmp/static.$PPID end: if [ -f "/tmp/static.$PPID" ]; then if ${vyatta_sbindir}/vyatta-gateway-static_route-check.pl "$VAR(../@)" "$VAR(@)"; then - vtysh -c "configure terminal" -c "no ipv6 route $VAR(../@) $VAR(@)" ; + vyatta-vtysh -c "configure terminal" -c "no ipv6 route $VAR(../@) $VAR(@)" ; fi; rm /tmp/static.$PPID; else if [ -n "$VAR(./distance/@)" ]; then DIST="$VAR(./distance/@)"; fi; - vtysh -c "configure terminal" -c "ipv6 route $VAR(../@) $VAR(@) $DIST"; + vyatta-vtysh -c "configure terminal" -c "ipv6 route $VAR(../@) $VAR(@) $DIST"; fi; |