summaryrefslogtreecommitdiff
path: root/templates/show/interfaces
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2007-12-31 16:54:24 -0800
committerStig Thormodsrud <stig@vyatta.com>2007-12-31 16:54:24 -0800
commit8fbee603ef1ac56c5212fabb1942636471acf7ab (patch)
treeb4ce70cd1b43257edc17056d77e5089dbc18e0e1 /templates/show/interfaces
parent5c2a4dd597fd84da3f3dc4e0f9479f98062f1bfc (diff)
downloadvyatta-op-8fbee603ef1ac56c5212fabb1942636471acf7ab.tar.gz
vyatta-op-8fbee603ef1ac56c5212fabb1942636471acf7ab.zip
Make "show interfaces" work with tunnel interfaces.
Diffstat (limited to 'templates/show/interfaces')
-rw-r--r--templates/show/interfaces/tunnel/node.tag/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/interfaces/tunnel/node.tag/node.def b/templates/show/interfaces/tunnel/node.tag/node.def
index 8dc252e..c119ab0 100644
--- a/templates/show/interfaces/tunnel/node.tag/node.def
+++ b/templates/show/interfaces/tunnel/node.tag/node.def
@@ -1,5 +1,5 @@
help: Show given tunnel interface information
allowed: local -a array ;
- array=( /sys/class/net/sit* ) ;
+ array=( /sys/class/net/tun* ) ;
echo -n ${array[@]##*/}
run: ${vyatta_bindir}/vyatta-show-interfaces tunnel $4