Firewall/VirtualIP, display vhid for IPAlias in overview

This commit is contained in:
Ad Schellevis 2018-12-03 14:44:42 +01:00
parent 754d483b86
commit ebbc086f11

View File

@ -276,7 +276,8 @@ $main_buttons = array(
<td>
<?=($vipent['type'] == "single" || $vipent['type'] == "network") && !empty($vipent['subnet_bits']) ? $vipent['subnet']."/".$vipent['subnet_bits'] : "";?>
<?=$vipent['type'] == "range" ? $vipent['range']['from'] . "-" . $vipent['range']['to'] : "";?>
<?=$vipent['mode'] == "carp" ? " (vhid {$vipent['vhid']} , freq. {$vipent['advbase']} / {$vipent['advskew']} )" : "";?>
<?=$vipent['mode'] == "carp" ? " (vhid {$vipent['vhid']} , freq. {$vipent['advbase']} / {$vipent['advskew']})" : "";?>
<?=$vipent['mode'] != "carp" && !empty($vipent['vhid']) ? " (vhid {$vipent['vhid']})" : "";?>
</td>
<td>
<?= htmlspecialchars($interfaces[$vipent['interface']]['descr']) ?>