From f5f7daa74e64aed0615cfc6509788f29a3b5e122 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 27 Feb 2009 10:34:15 -0800 Subject: Fix expansion of bonding VIF Use new --vif flag --- templates/show/interfaces/bonding/node.tag/vif/node.tag/node.def | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/show/interfaces/bonding/node.tag/vif/node.tag/node.def b/templates/show/interfaces/bonding/node.tag/vif/node.tag/node.def index 52bfbee..a7fe9ac 100644 --- a/templates/show/interfaces/bonding/node.tag/vif/node.tag/node.def +++ b/templates/show/interfaces/bonding/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 bonding --vif $4 run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6" -- cgit v1.2.3