mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-25 17:10:26 +00:00
select correct wifi interface as client
This commit is contained in:
parent
417e9489bb
commit
a8238d688e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue