diff options
author | Chris Buechler <cmb@pfsense.org> | 2008-04-14 03:28:51 +0000 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2008-04-14 03:28:51 +0000 |
commit | a04de17f1a5057dbeba74c202186255d854ef7a2 (patch) | |
tree | 6aeb5d72f49a3c437b754c366643ede366d828fd /usr/local/www/firewall_virtual_ip.php | |
parent | 47eaa4317246aa1a3303946b150911776a9b87f8 (diff) | |
download | pfsense-a04de17f1a5057dbeba74c202186255d854ef7a2.zip pfsense-a04de17f1a5057dbeba74c202186255d854ef7a2.tar.gz |
add IP alias support
TODO:
Remove IP aliases upon deletion
Add "type" icon
Diffstat (limited to 'usr/local/www/firewall_virtual_ip.php')
-rwxr-xr-x | usr/local/www/firewall_virtual_ip.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/firewall_virtual_ip.php b/usr/local/www/firewall_virtual_ip.php index ac439d0..8c2d9e4 100755 --- a/usr/local/www/firewall_virtual_ip.php +++ b/usr/local/www/firewall_virtual_ip.php @@ -56,7 +56,7 @@ if ($_POST) { reset_carp(); $retval |= filter_configure(); config_unlock(); - + interfaces_ipalias_configure(); $savemsg = get_std_save_message($retval); unlink_if_exists($d_vipconfdirty_path); } @@ -144,7 +144,7 @@ include("head.inc"); <?php if($vipent['mode'] == "carp") echo " (vhid {$vipent['vhid']})"; ?> </td> <td class="listlr" align="center" ondblclick="document.location='firewall_virtual_ip_edit.php?id=<?=$i;?>';"> - <? if($vipent['mode'] == "proxyarp") echo "<img src='./themes/".$g['theme']."/images/icons/icon_parp.gif' title='Proxy ARP'>"; elseif($vipent['mode'] == "carp") echo "<img src='./themes/".$g['theme']."/images/icons/icon_carp.gif' title='CARP'>"; elseif($vipent['mode'] == "other") echo "<img src='./themes/".$g['theme']."/images/icons/icon_other.gif' title='Other'>";?> + <? if($vipent['mode'] == "proxyarp") echo "<img src='./themes/".$g['theme']."/images/icons/icon_parp.gif' title='Proxy ARP'>"; elseif($vipent['mode'] == "carp") echo "<img src='./themes/".$g['theme']."/images/icons/icon_carp.gif' title='CARP'>"; elseif($vipent['mode'] == "other") echo "<img src='./themes/".$g['theme']."/images/icons/icon_other.gif' title='Other'>"; elseif($vipent['mode'] == "ipalias") echo "<img src='./themes/".$g['theme']."/images/icons/icon_ipalias.gif' title='IP Alias'>";?> </td> <td class="listbg" ondblclick="document.location='firewall_virtual_ip_edit.php?id=<?=$i;?>';"> <font color="#FFFFFF"><?=htmlspecialchars($vipent['descr']);?> |