mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Hold off on resolve_retry during boot. The rest of the IPsec config is already delayed during boot for tunnels with hostnames
This commit is contained in:
parent
71e91e500d
commit
33d5cb7a0f
@ -145,9 +145,10 @@ function ipsec_get_phase1_src(& $ph1ent) {
|
||||
function ipsec_get_phase1_dst(& $ph1ent) {
|
||||
|
||||
$rg = $ph1ent['remote-gateway'];
|
||||
if (!is_ipaddr($rg))
|
||||
return resolve_retry($rg);
|
||||
|
||||
if (!is_ipaddr($rg)) {
|
||||
if(! $g['booting'])
|
||||
return resolve_retry($rg);
|
||||
}
|
||||
if(!is_ipaddr($rg))
|
||||
return false;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user