diff options
author | jim-p <jimp@pfsense.org> | 2016-05-12 13:02:20 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-05-12 13:02:51 -0400 |
commit | ada85fc22e2df48bdcaa9cbc7e2aac840831b0f0 (patch) | |
tree | 145c23684a964589b4e7bc73fb9a01da64b10199 | |
parent | aec067d17de497a1f2971649ce0a6d0e8ed5d563 (diff) | |
download | pfsense-RELENG_2_3_0.zip pfsense-RELENG_2_3_0.tar.gz |
Use proper IPsec enable test. Fixes #6351RELENG_2_3_0
-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 { |