diff options
author | Seth Mos <seth.mos@dds.nl> | 2011-05-11 15:18:53 +0200 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2011-05-11 15:18:53 +0200 |
commit | cd9fa56b5729da52f0dfd116e782906d6bd85555 (patch) | |
tree | de86125c94cc8d10211fe8c2fcb92856118818db /usr | |
parent | 4edbcf6d38acd4f3590d251da8c3b57466947c39 (diff) | |
download | pfsense-cd9fa56b5729da52f0dfd116e782906d6bd85555.zip pfsense-cd9fa56b5729da52f0dfd116e782906d6bd85555.tar.gz |
Fix the input validation, typo in the field name. Mark the prefix delegation range as not required.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/services_dhcpv6.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/services_dhcpv6.php b/usr/local/www/services_dhcpv6.php index 80b4021..3a9fc22 100644 --- a/usr/local/www/services_dhcpv6.php +++ b/usr/local/www/services_dhcpv6.php @@ -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']);?>"> |