summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-02-14 06:31:25 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2010-02-14 06:31:25 -0700
commit79f34b1f7864670cb6c1516668442b4ca4d52386 (patch)
tree7a38f504850aa68d62b7db3ddbeedc83aab55cc9
parent6e76b8ee135b3d46d155d139b87f539257f0e4ba (diff)
downloadpfsense-79f34b1f7864670cb6c1516668442b4ca4d52386.zip
pfsense-79f34b1f7864670cb6c1516668442b4ca4d52386.tar.gz
Use clone interface's MAC instead of BSSID if the BSSID could not be determined.
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 40ce393..9b6ef82 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1630,7 +1630,7 @@ EOD;
$baseif_mac = get_interface_mac($baseif);
$if_bssid = get_interface_bssid($if);
if(!is_macaddr($if_bssid)) {
- $if_bssid = $baseif_mac;
+ $if_bssid = get_interface_mac($if);
}
/* XXX: Workaround because hostapd won't properly detect BSSID of
* clone interfaces and uses base interface's MAC instead
OpenPOWER on IntegriCloud