mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
ipsec: style sweep
This commit is contained in:
parent
79f8168b37
commit
be50228e5c
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user