mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not list the same CARP ip as an option for Interface
This commit is contained in:
parent
505d5c7a5f
commit
8467c588e4
@ -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\""; ?>>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user