From 8467c588e48965a412e2a146b1fd033c3a4d7ea2 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 23 Jan 2014 10:05:23 -0200 Subject: Do not list the same CARP ip as an option for Interface --- usr/local/www/firewall_virtual_ip_edit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr') diff --git a/usr/local/www/firewall_virtual_ip_edit.php b/usr/local/www/firewall_virtual_ip_edit.php index b9993d4..bf03403 100755 --- a/usr/local/www/firewall_virtual_ip_edit.php +++ b/usr/local/www/firewall_virtual_ip_edit.php @@ -388,7 +388,8 @@ function typesel_change() { $interfaces = get_configured_interface_with_descr(false, true); $carplist = get_configured_carp_interface_list(); foreach ($carplist as $cif => $carpip) - $interfaces[$cif] = $carpip." (".get_vip_descr($carpip).")"; + if ($carpip != $pconfig['subnet']) + $interfaces[$cif] = $carpip." (".get_vip_descr($carpip).")"; $interfaces['lo0'] = "Localhost"; foreach ($interfaces as $iface => $ifacename): ?>