summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def
index 52bfbee..88f6157 100644
--- a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def
@@ -1,5 +1,3 @@
help: Show specified virtual network interface (vif) information
-allowed: local -a array ;
- array=( /sys/class/net/${COMP_WORDS[3]}.* ) ;
- echo -n ${array[@]##*.}
+allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show ethernet --vif $4
run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6"