mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Fix for issue #1016 DHCP serves wrong Subnet Mask after updaiting in the webapp
This commit is contained in:
parent
c24104008a
commit
43088d3d1d
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ function updateDnsmasqConfig($iface,$status)
|
|||
$config = '# RaspAP '.$iface.' configuration'.PHP_EOL;
|
||||
$config .= 'interface='.$iface.PHP_EOL.
|
||||
'dhcp-range='.$_POST['RangeStart'].','.$_POST['RangeEnd'].
|
||||
',255.255.255.0,';
|
||||
','.$_POST['SubnetMask'].',';
|
||||
if ($_POST['RangeLeaseTimeUnits'] !== 'infinite') {
|
||||
$config .= $_POST['RangeLeaseTime'];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue