diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2014-10-02 21:45:49 +0200 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2014-10-02 22:56:06 +0200 |
commit | 80a261a27ebafe66c221b96086f128ec309fd238 (patch) | |
tree | 13c525c271b5ddd330071e53126b82881b37000a /usr/local/www/firewall_virtual_ip_edit.php | |
parent | e7b03bc1f4fdec9721fe0cd2373576657ef7dff1 (diff) | |
download | pfsense-80a261a27ebafe66c221b96086f128ec309fd238.zip pfsense-80a261a27ebafe66c221b96086f128ec309fd238.tar.gz |
CARP, allow carp ip to be outside interface and alias subnets (FreeBSD10 feature)
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 049b99f..f85902f 100644 --- a/usr/local/www/firewall_virtual_ip_edit.php +++ b/usr/local/www/firewall_virtual_ip_edit.php @@ -180,11 +180,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") |