diff options
author | Ermal <eri@pfsense.org> | 2014-10-06 08:21:24 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-10-06 08:21:24 +0000 |
commit | 4aa7f542a3d14fa59e2949df6e5cec790e8f4141 (patch) | |
tree | 2e3c9605b05fd29b3fa2748bd91d079b56b4739c /usr/local/www/firewall_virtual_ip_edit.php | |
parent | 042f0d12b36835a085274336244f7e7ecb259900 (diff) | |
parent | 80a261a27ebafe66c221b96086f128ec309fd238 (diff) | |
download | pfsense-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.php | 5 |
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") |