mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Merge branch 'master' into feature/dhcp-eth0
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
<?php
|
||||
$arrHostapdConf = parse_ini_file(RASPI_CONFIG.'/hostapd.ini');
|
||||
if ($arrHostapdConf['WifiAPEnable'] == 1) {
|
||||
$client_interface = 'uap0';
|
||||
} else {
|
||||
$client_interface = $_SESSION['wifi_client_interface'];
|
||||
}
|
||||
|
||||
$client_interface = $_SESSION['wifi_client_interface'];
|
||||
|
||||
exec('ip a show '.$client_interface, $stdoutIp);
|
||||
$stdoutIpAllLinesGlued = implode(" ", $stdoutIp);
|
||||
$stdoutIpWRepeatedSpaces = preg_replace('/\s\s+/', ' ', $stdoutIpAllLinesGlued);
|
||||
|
@@ -1,10 +1,8 @@
|
||||
<?php
|
||||
$arrHostapdConf = parse_ini_file(RASPI_CONFIG.'/hostapd.ini');
|
||||
if ($arrHostapdConf['WifiAPEnable'] == 1) {
|
||||
$client_interface = 'uap0';
|
||||
} else {
|
||||
$client_interface = $_SESSION['wifi_client_interface'];
|
||||
}
|
||||
|
||||
$client_interface = $_SESSION['wifi_client_interface'];
|
||||
|
||||
$ap_iface = $_SESSION['ap_interface'];
|
||||
$MACPattern = '"([[:xdigit:]]{2}:){5}[[:xdigit:]]{2}"';
|
||||
if ($arrHostapdConf['BridgedEnable'] == 1) {
|
||||
|
Reference in New Issue
Block a user