summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_ipsec_phase2.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/vpn_ipsec_phase2.php')
-rw-r--r--src/usr/local/www/vpn_ipsec_phase2.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/vpn_ipsec_phase2.php b/src/usr/local/www/vpn_ipsec_phase2.php
index cbcf8c2..269d5dd 100644
--- a/src/usr/local/www/vpn_ipsec_phase2.php
+++ b/src/usr/local/www/vpn_ipsec_phase2.php
@@ -200,7 +200,7 @@ if ($_POST) {
$netbits = get_interface_subnet($pconfig['localid_type']);
if (empty($address) || empty($netbits)) {
- $input_errors[] = gettext("Invalid Local Network.") . " " . convert_friendly_interface_to_friendly_descr($pconfig['localid_type']) . " " . gettext("has no subnet.");
+ $input_errors[] = gettext("Invalid Local Network.") . " " . sprintf(gettext("%s has no subnet."), convert_friendly_interface_to_friendly_descr($pconfig['localid_type']));
}
}
@@ -230,7 +230,7 @@ if ($_POST) {
$netbits = get_interface_subnet($pconfig['natlocalid_type']);
if (empty($address) || empty($netbits)) {
- $input_errors[] = gettext("Invalid Local Network.") . " " . convert_friendly_interface_to_friendly_descr($pconfig['natlocalid_type']) . " " . gettext("has no subnet.");
+ $input_errors[] = gettext("Invalid Local Network.") . " " . sprintf(gettext("%s has no subnet."), convert_friendly_interface_to_friendly_descr($pconfig['natlocalid_type']));
}
}
}
OpenPOWER on IntegriCloud