mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 18:44:44 +00:00
ipsec: fix crash report; closes #1977
This commit is contained in:
parent
de093f32e0
commit
0c6d34e261
@ -881,7 +881,7 @@ function ipsec_configure_do($verbose = false, $interface = '')
|
||||
$family = "inet";
|
||||
}
|
||||
if (is_ipaddr($srcip)) {
|
||||
$ipsecpinghosts[] = "{$srcip}|{$dstip}|3|||||{$family}|\n";
|
||||
$ipsecpinghosts .= "{$srcip}|{$dstip}|3|||||{$family}|\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user