aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp_status.php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/carp_status.php')
-rw-r--r--packages/carp_status.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/carp_status.php b/packages/carp_status.php
index 65230586..fee7781c 100644
--- a/packages/carp_status.php
+++ b/packages/carp_status.php
@@ -83,9 +83,10 @@ foreach($config['installedpackages']['carp']['config'] as $carp) {
$status = get_carp_interface_status($carp_int);
if(isset($carp['balancing'])) $balancing = "true"; else $balancing = "false";
if(isset($carp['premtpion'])) $premption = "true"; else $premption = "false";
+ if($synciface <> "") $sync_status = get_pfsync_interface_status($synciface);
echo "<tr>";
echo "<td class=\"listlr\"><center>" . $ipaddress . "</td>";
- echo "<td class=\"listlr\"><center>" . $status . "</td>";
+ echo "<td class=\"listlr\"><center>" . $status . "<br>" . $sync_status . "</td>";
echo "<td class=\"listlr\"><center>" . $synciface . "</td>";
echo "</tr>";
}