ipsec: style sweep

This commit is contained in:
Franco Fichtner 2022-06-28 11:16:41 +02:00
parent 79f8168b37
commit be50228e5c

View File

@ -359,7 +359,7 @@ function ipsec_get_phase1_src(&$ph1ent)
if ($ph1ent['protocol'] == "inet46") {
$ipv4 = get_interface_ip($if);
$ipv6 = get_interface_ipv6($if);
return $ipv4 ? $ipv4.($ipv6 ? ','.$ipv6 : '') : $ipv6;
return $ipv4 ? $ipv4 . ($ipv6 ? ',' . $ipv6 : '') : $ipv6;
} elseif ($ph1ent['protocol'] == "inet6") {
return get_interface_ipv6($if);
} else {