From c8b6797c0f7f3e59e110a11c1c651da8fa201a7b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 29 Mar 2010 17:21:11 -0700 Subject: Ignore ifb devices IFB is a pseudo-device used for incoming traffic shaping. Hide it from show queueing output. --- lib/Vyatta/Misc.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Vyatta/Misc.pm b/lib/Vyatta/Misc.pm index 44c0459..9b3e5ee 100755 --- a/lib/Vyatta/Misc.pm +++ b/lib/Vyatta/Misc.pm @@ -103,7 +103,8 @@ sub getInterfaces { my @interfaces = grep { ( !/^\./ ) && ( $_ ne 'bonding_masters' ) && ! ( $_ =~ '^mon.wlan\d$') && - ! ( $_ =~ '^wmaster\d+$') + ! ( $_ =~ '^wmaster\d+$') && + ! ( $_ =~ '^ifb.') } readdir $sys_class; closedir $sys_class; return @interfaces; -- cgit v1.2.3