summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-08-26 14:36:23 -0400
committerjim-p <jim@pingle.org>2009-08-26 14:37:13 -0400
commit459f45af61529554d331a1bb0b6a35ef5c71728d (patch)
treef62cd726b09d5ed4dd18e602342d054600ae8017 /etc
parent4ae540e5feb4710c637c8fbdfd54f92374b2751e (diff)
downloadpfsense-459f45af61529554d331a1bb0b6a35ef5c71728d.zip
pfsense-459f45af61529554d331a1bb0b6a35ef5c71728d.tar.gz
Slight fix to vlan hardware support detection.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/globals.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc
index ab6e4b5..4139644 100644
--- a/etc/inc/globals.inc
+++ b/etc/inc/globals.inc
@@ -42,7 +42,7 @@ function get_nics_with_capabilities($CAPABILITIES) {
$if_list = split(" ", $ifs);
$vlan_native_supp = array();
foreach($if_list as $if => $iface) {
- $capable = `ifconfig -m | grep -a1 $if | grep $CAPABILITIES`;
+ $capable = `ifconfig -m $if | grep "capabilities=.*{$CAPABILITIES}"`;
if($capable) {
$interfacenonum = remove_numbers($if);
if(!in_array($interfacenonum, $vlan_native_supp))
OpenPOWER on IntegriCloud