mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
select correct wifi interface as client
This commit is contained in:
parent
417e9489bb
commit
a8238d688e
@ -3,7 +3,7 @@ $arrHostapdConf = parse_ini_file(RASPI_CONFIG.'/hostapd.ini');
|
|||||||
if ($arrHostapdConf['WifiAPEnable'] == 1) {
|
if ($arrHostapdConf['WifiAPEnable'] == 1) {
|
||||||
$client_interface = 'uap0';
|
$client_interface = 'uap0';
|
||||||
} else {
|
} else {
|
||||||
$client_interface = $_SESSION['ap_interface'];
|
$client_interface = $_SESSION['wifi_client_interface'];
|
||||||
}
|
}
|
||||||
$ap_iface = $_SESSION['ap_interface'];
|
$ap_iface = $_SESSION['ap_interface'];
|
||||||
$MACPattern = '"([[:xdigit:]]{2}:){5}[[:xdigit:]]{2}"';
|
$MACPattern = '"([[:xdigit:]]{2}:){5}[[:xdigit:]]{2}"';
|
||||||
|
Loading…
Reference in New Issue
Block a user