mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix the input validation, typo in the field name. Mark the prefix delegation range as not required.
This commit is contained in:
parent
4edbcf6d38
commit
cd9fa56b57
@ -182,7 +182,7 @@ if ($_POST) {
|
||||
$input_errors[] = gettext("A valid range must be specified.");
|
||||
if (($_POST['prefixrange_to'] && !is_ipaddrv6($_POST['prefixrange_to'])))
|
||||
$input_errors[] = gettext("A valid prefix range must be specified.");
|
||||
if (($_POST['range_from'] && !is_ipaddrv6($_POST['prefixrange_from'])))
|
||||
if (($_POST['range_from'] && !is_ipaddrv6($_POST['range_from'])))
|
||||
$input_errors[] = gettext("A valid range must be specified.");
|
||||
if (($_POST['range_to'] && !is_ipaddrv6($_POST['range_to'])))
|
||||
$input_errors[] = gettext("A valid range must be specified.");
|
||||
@ -573,7 +573,7 @@ include("head.inc");
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="22%" valign="top" class="vncellreq"><?=gettext("Prefix Delegation Range");?></td>
|
||||
<td width="22%" valign="top" class="vncell"><?=gettext("Prefix Delegation Range");?></td>
|
||||
<td width="78%" class="vtable">
|
||||
<input name="prefixrange_from" type="text" class="formfld unknown" id="prefixrange_from" size="28" value="<?=htmlspecialchars($pconfig['prefixrange_from']);?>">
|
||||
<?=gettext("to"); ?> <input name="prefixrange_to" type="text" class="formfld unknown" id="prefixrange_to" size="28" value="<?=htmlspecialchars($pconfig['prefixrange_to']);?>">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user