diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-01-23 10:05:23 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-01-23 10:05:23 -0200 |
commit | 8467c588e48965a412e2a146b1fd033c3a4d7ea2 (patch) | |
tree | b8acc2590f8f6c9d396a78a7995b75ac44b7bc9b /usr/local/www | |
parent | 505d5c7a5fda8e445c86fb7662be64304475f230 (diff) | |
download | pfsense-8467c588e48965a412e2a146b1fd033c3a4d7ea2.zip pfsense-8467c588e48965a412e2a146b1fd033c3a4d7ea2.tar.gz |
Do not list the same CARP ip as an option for Interface
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/firewall_virtual_ip_edit.php | 3 |
1 files changed, 2 insertions, 1 deletions
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): ?> <option value="<?=$iface;?>" <?php if ($iface == $pconfig['interface']) echo "selected=\"selected\""; ?>> |