summaryrefslogtreecommitdiff
path: root/templates/show/interfaces/tunnel
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/interfaces/tunnel')
-rw-r--r--templates/show/interfaces/tunnel/node.tag/node.def4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/show/interfaces/tunnel/node.tag/node.def b/templates/show/interfaces/tunnel/node.tag/node.def
index 6818464..2382af4 100644
--- a/templates/show/interfaces/tunnel/node.tag/node.def
+++ b/templates/show/interfaces/tunnel/node.tag/node.def
@@ -1,5 +1,3 @@
help: Show specified tunnel interface information
-allowed: local -a array ;
- array=( /sys/class/net/tun* ) ;
- echo -n ${array[@]##*/}
+allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show tunnel
run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4"