Revision 33d5cb7a
Added by Seth Mos over 14 years ago
etc/inc/ipsec.inc | ||
---|---|---|
145 | 145 |
function ipsec_get_phase1_dst(& $ph1ent) { |
146 | 146 |
|
147 | 147 |
$rg = $ph1ent['remote-gateway']; |
148 |
if (!is_ipaddr($rg)) |
|
149 |
return resolve_retry($rg); |
|
150 |
|
|
148 |
if (!is_ipaddr($rg)) { |
|
149 |
if(! $g['booting']) |
|
150 |
return resolve_retry($rg); |
|
151 |
} |
|
151 | 152 |
if(!is_ipaddr($rg)) |
152 | 153 |
return false; |
153 | 154 |
|
Also available in: Unified diff
Hold off on resolve_retry during boot. The rest of the IPsec config is already delayed during boot for tunnels with hostnames