diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-26 12:51:57 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-26 12:51:57 -0800 |
commit | 43ccc1bb5e446ec8c94cabe21fa7e8d68ffe07e3 (patch) | |
tree | a1208194263c92a8399303574e2e5774149c59e5 /templates/show/interfaces | |
parent | 9f160e232d01601cc6a5a1cefff797df455be75d (diff) | |
download | vyatta-op-43ccc1bb5e446ec8c94cabe21fa7e8d68ffe07e3.tar.gz vyatta-op-43ccc1bb5e446ec8c94cabe21fa7e8d68ffe07e3.zip |
Use new --vif option to find allowed interfaces
Diffstat (limited to 'templates/show/interfaces')
-rw-r--r-- | templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def | 4 |
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" |