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:48 -0400 |
commit | da249a00a3015c17f995e65a9830a7142b9f7356 (patch) | |
tree | d9c82678b8805ef8da112acf9a2072d1262d7388 /src/etc/rc.newipsecdns | |
parent | 474e70a2d178de50060c6e5f1114bb5b6963a6b6 (diff) | |
download | pfsense-da249a00a3015c17f995e65a9830a7142b9f7356.zip pfsense-da249a00a3015c17f995e65a9830a7142b9f7356.tar.gz |
Use proper IPsec enable test. Fixes #6351
Diffstat (limited to 'src/etc/rc.newipsecdns')
-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 { |