From 8fbee603ef1ac56c5212fabb1942636471acf7ab Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 31 Dec 2007 16:54:24 -0800 Subject: Make "show interfaces" work with tunnel interfaces. --- templates/show/interfaces/tunnel/node.tag/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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 -- cgit v1.2.3