summaryrefslogtreecommitdiffstats
path: root/usr/local/www/carp_status.php
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2015-02-15 16:29:49 +0100
committerPiBa-NL <pba_2k3@yahoo.com>2015-02-15 16:29:49 +0100
commit8f5352df20c7193a5a537f1ec5369cb221504ee7 (patch)
tree3f3215a22d0e54bc3d2fbc8476c930fd6a6a3690 /usr/local/www/carp_status.php
parenteaa89cc6551f76e0dc47c1f24420a9ab1800f111 (diff)
downloadpfsense-8f5352df20c7193a5a537f1ec5369cb221504ee7.zip
pfsense-8f5352df20c7193a5a537f1ec5369cb221504ee7.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/www/carp_status.php')
-rw-r--r--usr/local/www/carp_status.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/carp_status.php b/usr/local/www/carp_status.php
index 1a3df8a..fc8de57 100644
--- a/usr/local/www/carp_status.php
+++ b/usr/local/www/carp_status.php
@@ -193,7 +193,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} &nbsp;</td>";
echo "<td class=\"listlr\" align=\"center\">" . $ipaddress . "&nbsp;</td>";
OpenPOWER on IntegriCloud