summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-02 17:10:07 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-02 17:10:07 -0800
commit3d9cf09618b1bcfc25c632f6582e5e2ca0908754 (patch)
treef27a7f3a380ecade1e302d770ef8b0b66090aa4e /lib/Vyatta
parent8df891c9a2d99a0e34c19cb01b2521899b6d566d (diff)
parent1ec704bb9deb6e508d2aa3ff43ab59b145ce1f2d (diff)
downloadvyatta-cfg-3d9cf09618b1bcfc25c632f6582e5e2ca0908754.tar.gz
vyatta-cfg-3d9cf09618b1bcfc25c632f6582e5e2ca0908754.zip
Merge branch 'jenner' of 192.168.100.1:git/vyatta-cfg into jenner
Diffstat (limited to 'lib/Vyatta')
-rwxr-xr-xlib/Vyatta/Misc.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Vyatta/Misc.pm b/lib/Vyatta/Misc.pm
index fad3eb2..eccd715 100755
--- a/lib/Vyatta/Misc.pm
+++ b/lib/Vyatta/Misc.pm
@@ -93,7 +93,8 @@ sub generate_dhclient_intf_files {
sub getInterfaces {
opendir (my $sys_class, '/sys/class/net')
or die "can't open /sys/class/net: $!";
- my @interfaces = grep !/^\./, readdir $sys_class;
+ my @interfaces =
+ grep { ( !/^\./ ) && ( $_ ne 'bonding_masters' ) } readdir $sys_class;
closedir $sys_class;
return @interfaces;
}