mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Fix for issue RaspAP/raspap-webgui#1016
This commit is contained in:
		| @@ -180,9 +180,7 @@ function compareIPs($ip1, $ip2) | ||||
| 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,'; | ||||
|     $config .= 'interface='.$iface.PHP_EOL.'dhcp-range='.$_POST['RangeStart'].','.$_POST['RangeEnd'].','.$_POST['SubnetMask'].','; | ||||
|     if ($_POST['RangeLeaseTimeUnits'] !== 'infinite') { | ||||
|         $config .= $_POST['RangeLeaseTime']; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user