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:36 -0400 |
commit | 88cce82b304cd9e0e253f29a9bd3fdc9241260a7 (patch) | |
tree | f8b5860b7f256ed933249aae86435d2e1e6796a0 | |
parent | 60ebb4736c38669464c48497914baf8cbdb8849e (diff) | |
download | pfsense-88cce82b304cd9e0e253f29a9bd3fdc9241260a7.zip pfsense-88cce82b304cd9e0e253f29a9bd3fdc9241260a7.tar.gz |
Use proper IPsec enable test. Fixes #6351
-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 { |