src: whitespace sweep

This commit is contained in:
Franco Fichtner 2021-09-02 07:47:54 +02:00
parent 239a6e5dba
commit b826ae3d5c

View File

@ -903,7 +903,7 @@ function openvpn_restart($mode, $settings, $carp_event = false)
list ($interface, $vhid) = explode("_vip", $settings['interface']);
$interface_details = legacy_interface_details(get_real_interface($interface));
if (
!empty($interface_details) && !empty($interface_details['carp'][$vhid]) &&
!empty($interface_details) && !empty($interface_details['carp'][$vhid]) &&
$interface_details['carp'][$vhid]['status'] == 'BACKUP'
) {
/* do not restart a client if we are a CARP backup instance */