summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_dhcpv6_edit.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-12-13 18:13:45 +0545
committerRenato Botelho <renato@netgate.com>2016-12-13 10:56:59 -0200
commitb2a682a36655f15458b9fa6ffbc5b57d77d5830b (patch)
tree90c700312abcf056859f14e121e76ccc568ab038 /src/usr/local/www/services_dhcpv6_edit.php
parentaef27ab528ffba873d5053785fc163507ecf26b3 (diff)
downloadpfsense-b2a682a36655f15458b9fa6ffbc5b57d77d5830b.zip
pfsense-b2a682a36655f15458b9fa6ffbc5b57d77d5830b.tar.gz
Services DHCPv6 Static Edit fix var name
The example format at the end of the error message was not coming out. (cherry picked from commit d59ac1d6b8e14fb12dd9705be70842a26e3a5da0)
Diffstat (limited to 'src/usr/local/www/services_dhcpv6_edit.php')
-rw-r--r--src/usr/local/www/services_dhcpv6_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/services_dhcpv6_edit.php b/src/usr/local/www/services_dhcpv6_edit.php
index 0a285af..3acde07 100644
--- a/src/usr/local/www/services_dhcpv6_edit.php
+++ b/src/usr/local/www/services_dhcpv6_edit.php
@@ -164,7 +164,7 @@ if ($_POST) {
if (!Net_IPv6::isInNetmask($_POST['ipaddrv6'], '::', $pdlen)) {
$input_errors[] = sprintf(gettext(
"The prefix (upper %s bits) must be zero. Use the form %s"),
- $pdlen, dhcpv6_pd_str_help($ifcfgsn));
+ $pdlen, dhcpv6_pd_str_help($ifcfgsnv6));
}
}
}
OpenPOWER on IntegriCloud