From cd9fa56b5729da52f0dfd116e782906d6bd85555 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Wed, 11 May 2011 15:18:53 +0200 Subject: [PATCH] Fix the input validation, typo in the field name. Mark the prefix delegation range as not required. --- usr/local/www/services_dhcpv6.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/www/services_dhcpv6.php b/usr/local/www/services_dhcpv6.php index 80b4021f40..3a9fc22334 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"); - +