mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge pull request #1383 from phil-davis/patch-10
This commit is contained in:
commit
3bc55eee36
@ -284,7 +284,7 @@ function console_configure_ip_address($version) {
|
||||
echo "\n" . sprintf(gettext("Enter the new %s %s subnet bit count:"),
|
||||
$upperifname, $label_IPvX) . "\n> ";
|
||||
$intbits = chop(fgets($fp));
|
||||
$intbits_ok = is_numeric($intbits) && (($intbits >= 1) || ($intbits <= $maxbits));
|
||||
$intbits_ok = is_numeric($intbits) && (($intbits >= 1) && ($intbits <= $maxbits));
|
||||
$restart_dhcpd = true;
|
||||
|
||||
if ($version === 4 && $intbits < $maxbits) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user