ipsec: address small crash report

This commit is contained in:
Franco Fichtner 2017-02-21 23:39:11 +01:00
parent b6a326b66c
commit 83ec10739c

View File

@ -445,7 +445,7 @@ function ipsec_configure($verbose = false)
/* get the automatic ping_hosts.sh ready */
@unlink('/var/db/ipsecpinghosts');
touch('/var/db/ipsecpinghosts');
@touch('/var/db/ipsecpinghosts');
// Prefer older IPsec SAs (advanced setting)
if (isset($config['ipsec']['preferoldsa'])) {