1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Update default dnsmasq settings

This commit is contained in:
billz 2019-03-07 18:11:58 +00:00
parent 47a2b7c346
commit 192a849cd5

View File

@ -650,7 +650,8 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status)
$config.= 'dhcp-range=192.168.50.50,192.168.50.150,12h'.PHP_EOL; $config.= 'dhcp-range=192.168.50.50,192.168.50.150,12h'.PHP_EOL;
} else { } else {
// Fallback to default config // Fallback to default config
$config = 'interface='.$_POST['interface'].PHP_EOL; $config = 'domain-needed'.PHP_EOL;
$config.= 'interface='.$_POST['interface'].PHP_EOL;
$config.= 'dhcp-range=10.3.141.50,10.3.141.255,255.255.255.0,12h'.PHP_EOL; $config.= 'dhcp-range=10.3.141.50,10.3.141.255,255.255.255.0,12h'.PHP_EOL;
} }
exec('echo "'.$config.'" > /tmp/dhcpddata', $temp); exec('echo "'.$config.'" > /tmp/dhcpddata', $temp);