diff options
author | Ermal <eri@pfsense.org> | 2010-12-17 21:11:44 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-12-17 21:11:44 +0000 |
commit | dc2bb9e542648617cc4f7e60ad6a1056f60cac27 (patch) | |
tree | e4aba5cec1e0fd9630e014a11cce1aabd1951dc3 /usr/local/www | |
parent | 6b7408814e78efc2fe6c690880b4ac6aeedb0566 (diff) | |
download | pfsense-dc2bb9e542648617cc4f7e60ad6a1056f60cac27.zip pfsense-dc2bb9e542648617cc4f7e60ad6a1056f60cac27.tar.gz |
Allow ip aliases to be added to vips.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/firewall_virtual_ip_edit.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/firewall_virtual_ip_edit.php b/usr/local/www/firewall_virtual_ip_edit.php index edcde6c..1b6ec09 100755 --- a/usr/local/www/firewall_virtual_ip_edit.php +++ b/usr/local/www/firewall_virtual_ip_edit.php @@ -378,6 +378,9 @@ function typesel_change() { <select name="interface" class="formselect"> <?php $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).")"; foreach ($interfaces as $iface => $ifacename): ?> <option value="<?=$iface;?>" <?php if ($iface == $pconfig['interface']) echo "selected"; ?>> <?=htmlspecialchars($ifacename);?> |