mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
System/Wizard - omit dhcp config when not available, closes https://github.com/opnsense/core/issues/5316
This commit is contained in:
parent
149564b96a
commit
3be0173e55
@ -544,7 +544,7 @@ if (!empty(trim($_POST['lanipaddress']))) {
|
||||
|
||||
if (!empty($input_errors)) {
|
||||
$stepid--;
|
||||
} else {
|
||||
} elseif (!empty($config['dhcpd']['lan']['range']['from'])) {
|
||||
$ft = explode(".", $_POST['lanipaddress']);
|
||||
$ft_ip = $ft[0] . "." . $ft[1] . "." . $ft[2] . ".";
|
||||
$config['dhcpd']['lan']['range']['from'] = $ft_ip . "10";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user