diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2012-09-29 19:39:19 +0200 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2012-09-29 19:39:19 +0200 |
commit | e3449857823529516e986776ae4497280ca6dedd (patch) | |
tree | ca43d8d6dcdf4acc781d2b9adc7f38a33f385f05 /usr | |
parent | 1be1a67a3941de56e6fc80db1d1ee21f6e9c4fce (diff) | |
download | pfsense-e3449857823529516e986776ae4497280ca6dedd.zip pfsense-e3449857823529516e986776ae4497280ca6dedd.tar.gz |
CARP notifications show vip description, 'Virtual IP Addresses' page shows interface.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_virtual_ip.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/local/www/firewall_virtual_ip.php b/usr/local/www/firewall_virtual_ip.php index 36e48ab..547ce4b 100755 --- a/usr/local/www/firewall_virtual_ip.php +++ b/usr/local/www/firewall_virtual_ip.php @@ -180,6 +180,7 @@ include("head.inc"); <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="30%" class="listhdrr"><?=gettext("Virtual IP address");?></td> + <td width="10%" class="listhdrr"><?=gettext("Interface");?></td> <td width="10%" class="listhdrr"><?=gettext("Type");?></td> <td width="40%" class="listhdr"><?=gettext("Description");?></td> <td width="10%" class="list"> @@ -204,6 +205,9 @@ include("head.inc"); ?> <?php if($vipent['mode'] == "carp") echo " (vhid {$vipent['vhid']})"; ?> </td> + <td class="listr" ondblclick="document.location='firewall_virtual_ip_edit.php?id=<?=$i;?>';"> + <?=htmlspecialchars(strtoupper($config['interfaces'][$vipent['interface']]['descr']));?> + </td> <td class="listr" 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'>"; elseif($vipent['mode'] == "ipalias") echo "<img src='./themes/".$g['theme']."/images/icons/icon_ifalias.gif' title='IP Alias'>";?> </td> @@ -222,7 +226,7 @@ include("head.inc"); <?php endif; ?> <?php $i++; endforeach; ?> <tr> - <td class="list" colspan="3"></td> + <td class="list" colspan="4"></td> <td class="list"> <table border="0" cellspacing="0" cellpadding="1"> <tr> @@ -233,7 +237,7 @@ include("head.inc"); </td> </tr> <tr> - <td colspan="4"> + <td colspan="5"> <p><span class="vexpl"><span class="red"><strong><?=gettext("Note:");?><br> </strong></span><?=gettext("The virtual IP addresses defined on this page may be used in");?><a href="firewall_nat.php"> <?=gettext("NAT"); ?> </a><?=gettext("mappings.");?><br> <?=gettext("You can check the status of your CARP Virtual IPs and interfaces ");?><a href="carp_status.php"><?=gettext("here");?></a>.</span></p> |