#!/usr/local/bin/php <?=gentitle_pkg($title);?>

"") foreach($config['installedpackages']['carp']['config'] as $carp) { $ipaddress = $carp['ipaddress']; $premption = $carp['premption']; $password = $carp['password']; $netmask = $carp['netmask']; $vhid = $carp['vhid']; $advskew = $carp['advskew']; $pfsync = $carp['pfsync']; $synciface = $carp['synciface']; $carp_int = find_carp_interface($ipaddress); $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 ""; echo ""; echo ""; echo ""; echo ""; } ?>
Interface
Status
Sync Status
" . $ipaddress . " - " . $carp_int . "
" . $status . "
" . $sync_status . "
" . $synciface . "