diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2015-02-15 16:29:49 +0100 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-02-24 08:40:35 -0300 |
commit | b5ecfe0f35fc1343256f7926670a36e933582388 (patch) | |
tree | 7649ab1be0bd7b836b6758b4e40b1dae9526ef63 /usr/local | |
parent | 42fcce27d8b8e4cb1d00e3c2a7a1fa92fe3dc367 (diff) | |
download | pfsense-b5ecfe0f35fc1343256f7926670a36e933582388.zip pfsense-b5ecfe0f35fc1343256f7926670a36e933582388.tar.gz |
carp, don't show status icon from previous carp ip in case the ip is not present on the interface (test with ifconfig em0 1.2.3.4 delete)
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/carp_status.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/carp_status.php b/usr/local/www/carp_status.php index e8e5077..517697c 100644 --- a/usr/local/www/carp_status.php +++ b/usr/local/www/carp_status.php @@ -197,7 +197,8 @@ include("head.inc"); $icon = "<img {$align} src=\"/themes/".$g['theme']."/images/icons/icon_pass_d.gif\" alt=\"backup\" />"; } else if($status == "INIT") { $icon = "<img {$align} src=\"/themes/".$g['theme']."/images/icons/icon_log.gif\" alt=\"init\" />"; - } + } else + $icon = ""; } echo "<td class=\"listlr\" align=\"center\">" . convert_friendly_interface_to_friendly_descr($carp['interface']) . "@{$vhid} </td>"; echo "<td class=\"listlr\" align=\"center\">" . $ipaddress . " </td>"; |