diff options
author | Ermal <eri@pfsense.org> | 2013-02-13 22:40:22 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-02-13 22:40:22 +0000 |
commit | a1e4e2a79fce4c734cf3d8e485531f60da5763e8 (patch) | |
tree | 4726208cfc520ee50772f7d8d593c482bb0e865b /usr/local/www/firewall_virtual_ip_edit.php | |
parent | 72f25519a9ee36cd9c0ba33a3b8736ef0fb7ae26 (diff) | |
download | pfsense-a1e4e2a79fce4c734cf3d8e485531f60da5763e8.zip pfsense-a1e4e2a79fce4c734cf3d8e485531f60da5763e8.tar.gz |
Two interfaces, carp, ip aliases might be on the same subnet as their parent. What needs to be checked is the ip itself
Diffstat (limited to 'usr/local/www/firewall_virtual_ip_edit.php')
-rwxr-xr-x | usr/local/www/firewall_virtual_ip_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_virtual_ip_edit.php b/usr/local/www/firewall_virtual_ip_edit.php index d28d55c..6cd6cb8 100755 --- a/usr/local/www/firewall_virtual_ip_edit.php +++ b/usr/local/www/firewall_virtual_ip_edit.php @@ -113,7 +113,7 @@ if ($_POST) { if ($_POST['subnet']) { if (!is_ipaddr($_POST['subnet'])) $input_errors[] = gettext("A valid IP address must be specified."); - else if (is_ipaddr_configured($_POST['subnet'], "vip_" . $id, true)) + else if (is_ipaddr_configured($_POST['subnet'], "vip_" . $id)) $input_errors[] = gettext("This IPv4 address is being used by another interface or VIP."); } |