summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_dhcpv6.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-02-01 16:43:51 +0545
committerPhil Davis <phil.davis@inf.org>2017-02-01 16:43:51 +0545
commit702fa4d0ce035a444112e23f4e4d1a4c686d8163 (patch)
tree3efcf6b31fee91f60f1321fbeaa06ca98fc4ac7e /src/usr/local/www/services_dhcpv6.php
parent070379bbc0cf84d82f52a0adfe2bdc6014695f7e (diff)
downloadpfsense-702fa4d0ce035a444112e23f4e4d1a4c686d8163.zip
pfsense-702fa4d0ce035a444112e23f4e4d1a4c686d8163.tar.gz
Code with multiple %s in usr/local/www
Diffstat (limited to 'src/usr/local/www/services_dhcpv6.php')
-rw-r--r--src/usr/local/www/services_dhcpv6.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/services_dhcpv6.php b/src/usr/local/www/services_dhcpv6.php
index f120688..a433698 100644
--- a/src/usr/local/www/services_dhcpv6.php
+++ b/src/usr/local/www/services_dhcpv6.php
@@ -258,7 +258,7 @@ if (isset($_POST['apply'])) {
} elseif ($config['interfaces'][$if]['ipaddrv6'] == 'track6' &&
!Net_IPv6::isInNetmask($_POST['range_from'], '::', $ifcfgsn)) {
$input_errors[] = sprintf(gettext(
- "The prefix (upper %s bits) must be zero. Use the form %s"),
+ 'The prefix (upper %1$s bits) must be zero. Use the form %2$s'),
$ifcfgsn, $str_help_mask);
$range_from_to_ok = false;
}
@@ -270,7 +270,7 @@ if (isset($_POST['apply'])) {
} elseif ($config['interfaces'][$if]['ipaddrv6'] == 'track6' &&
!Net_IPv6::isInNetmask($_POST['range_to'], '::', $ifcfgsn)) {
$input_errors[] = sprintf(gettext(
- "The prefix (upper %s bits) must be zero. Use the form %s"),
+ 'The prefix (upper %1$s bits) must be zero. Use the form %2$s'),
$ifcfgsn, $str_help_mask);
$range_from_to_ok = false;
}
OpenPOWER on IntegriCloud