summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_virtual_ip.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2012-05-01 00:29:39 -0400
committerChris Buechler <cmb@pfsense.org>2012-05-01 00:29:57 -0400
commit402ffa96871b0a34867ff2516419c5e230c5236b (patch)
treeb5af4c8623ffa19beb6683519951bdbf589fa2a6 /usr/local/www/firewall_virtual_ip.php
parent60dd7649d02e4a82f9d57953359bf312038f174a (diff)
downloadpfsense-402ffa96871b0a34867ff2516419c5e230c5236b.zip
pfsense-402ffa96871b0a34867ff2516419c5e230c5236b.tar.gz
fix text
Diffstat (limited to 'usr/local/www/firewall_virtual_ip.php')
-rwxr-xr-xusr/local/www/firewall_virtual_ip.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/firewall_virtual_ip.php b/usr/local/www/firewall_virtual_ip.php
index 247fe90..87c32f6 100755
--- a/usr/local/www/firewall_virtual_ip.php
+++ b/usr/local/www/firewall_virtual_ip.php
@@ -115,13 +115,13 @@ if ($_GET['act'] == "del") {
foreach ($a_vip as $vip) {
if ($vip['interface'] == $vipiface && $vip['mode'] == "carp")
if (ip_in_subnet($vip['subnet'], gen_subnet($a_vip[$_GET['id']]['subnet'], $a_vip[$_GET['id']]['subnet_bits']) . "/" . $a_vip[$_GET['id']]['subnet_bits']))
- $input_errors[] = gettext("This entry cannot be deleted because it is still referenced by CARP") . " {$vip['descr']}.";
+ $input_errors[] = gettext("This entry cannot be deleted because it is still referenced by a CARP IP with the description") . " {$vip['descr']}.";
}
} else if ($a_vip[$_GET['id']]['mode'] == "carp") {
$vipiface = "{$a_vip[$_GET['id']]['interface']}_vip{$a_vip[$_GET['id']]['vhid']}";
foreach ($a_vip as $vip) {
if ($vipiface == $vip['interface'] && $vip['mode'] == "ipalias")
- $input_errors[] = gettext("This entry cannot be deleted because it is still referenced by ip alias entry") . " {$vip['descr']}.";
+ $input_errors[] = gettext("This entry cannot be deleted because it is still referenced by an IP alias entry with the description") . " {$vip['descr']}.";
}
}
OpenPOWER on IntegriCloud