Bug #2896 ยป ipsec-failover-testfix1.patch
| etc/rc.newipsecdns | ||
|---|---|---|
|
}
|
||
|
$ipseclck = lock('ipsecdns', LOCK_EX);
|
||
|
|
||
|
if(isset($config['ipsec']['enable']))
|
||
|
if(isset($config['ipsec']['enable'])) {
|
||
|
sleep(15);
|
||
|
log_error("IPSEC: One or more IPsec tunnel endpoints has changed its IP. Refreshing.");
|
||
|
}
|
||
|
/* We will walk the list of hostnames found in the ipsec tunnel
|
||
|
* configuration. Since we are already triggered by filterdns
|
||
|
* that a hostname has changed we can proceed to compare the
|
||
| ... | ... | |
|
|
||
|
vpn_ipsec_configure();
|
||
|
vpn_ipsec_force_reload();
|
||
|
unlock($ipseclck);
|
||
|
?>
|
||