diff options
Diffstat (limited to 'templates/protocols/static/interface-route6')
-rw-r--r-- | templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.def | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.def b/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.def index 5321c619..2d5eb281 100644 --- a/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.def +++ b/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.def @@ -3,9 +3,7 @@ type: txt help: Set the next-hop interface # show all current interface # but syntax accepts any interface since it may exist later (ppp etc) -allowed: local -a array - array=( /sys/class/net/* ) - echo -n ${array[@]##*/} +allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all delete: touch /tmp/static.$PPID |