summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_virtual_ip_edit.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-10-06 08:21:24 +0000
committerErmal <eri@pfsense.org>2014-10-06 08:21:24 +0000
commit4aa7f542a3d14fa59e2949df6e5cec790e8f4141 (patch)
tree2e3c9605b05fd29b3fa2748bd91d079b56b4739c /usr/local/www/firewall_virtual_ip_edit.php
parent042f0d12b36835a085274336244f7e7ecb259900 (diff)
parent80a261a27ebafe66c221b96086f128ec309fd238 (diff)
downloadpfsense-4aa7f542a3d14fa59e2949df6e5cec790e8f4141.zip
pfsense-4aa7f542a3d14fa59e2949df6e5cec790e8f4141.tar.gz
Merge pull request #1303 from PiBa-NL/carp_without_matching_subnet
Diffstat (limited to 'usr/local/www/firewall_virtual_ip_edit.php')
-rw-r--r--usr/local/www/firewall_virtual_ip_edit.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/usr/local/www/firewall_virtual_ip_edit.php b/usr/local/www/firewall_virtual_ip_edit.php
index 9f4413c..d03c39f 100644
--- a/usr/local/www/firewall_virtual_ip_edit.php
+++ b/usr/local/www/firewall_virtual_ip_edit.php
@@ -187,11 +187,6 @@ if ($_POST) {
$subnet = gen_subnetv6($parent_ip, $parent_sn);
}
- if (isset($parent_ip) && !ip_in_subnet($_POST['subnet'], "{$subnet}/{$parent_sn}") && !ip_in_interface_alias_subnet($_POST['interface'], $_POST['subnet'])) {
- $cannot_find = $_POST['subnet'] . "/" . $_POST['subnet_bits'] ;
- $input_errors[] = sprintf(gettext("Sorry, we could not locate an interface with a matching subnet for %s. Please add an IP alias in this subnet on this interface."),$cannot_find);
- }
-
if ($_POST['interface'] == "lo0")
$input_errors[] = gettext("For this type of vip localhost is not allowed.");
} else if ($_POST['mode'] != 'ipalias' && $_POST['interface'] == "lo0")
OpenPOWER on IntegriCloud