mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use proper IPsec enable test. Fixes #6351
This commit is contained in:
parent
aec067d17d
commit
ada85fc22e
@ -46,7 +46,7 @@ if (file_exists("{$g['varrun_path']}/booting")) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (isset($config['ipsec']['enable'])) {
|
||||
if (ipsec_enabled()) {
|
||||
sleep(15);
|
||||
log_error("IPSEC: One or more IPsec tunnel endpoints has changed its IP. Refreshing.");
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user