diff options
-rwxr-xr-x | src/etc/rc.newipsecdns | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/rc.newipsecdns b/src/etc/rc.newipsecdns index 7c5428a..c4581ae 100755 --- a/src/etc/rc.newipsecdns +++ b/src/etc/rc.newipsecdns @@ -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 { |