diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-29 17:21:11 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-29 17:21:11 -0700 |
commit | c8b6797c0f7f3e59e110a11c1c651da8fa201a7b (patch) | |
tree | a3736ec65e512f7b24b9e686bab6c7720c18feb1 /lib | |
parent | c12777ce4b47f4ac1ddfc7eccdb811c2981d20f1 (diff) | |
download | vyatta-cfg-c8b6797c0f7f3e59e110a11c1c651da8fa201a7b.tar.gz vyatta-cfg-c8b6797c0f7f3e59e110a11c1c651da8fa201a7b.zip |
Ignore ifb devices
IFB is a pseudo-device used for incoming traffic shaping.
Hide it from show queueing output.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Vyatta/Misc.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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; |