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:
parent
47a2b7c346
commit
192a849cd5
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user