mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix #2818. Save information about all phase1 on ipsecpinghosts instead of only the last one
This commit is contained in:
parent
71034b51ff
commit
fa77faffbf
@ -224,9 +224,9 @@ function vpn_ipsec_configure($ipchg = false)
|
||||
$ipsecpinghosts[] = "{$srcip}|{$dstip}|3|||||{$family}|\n";
|
||||
}
|
||||
}
|
||||
@file_put_contents("{$g['vardb_path']}/ipsecpinghosts", $ipsecpinghosts);
|
||||
unset($ipsecpinghosts);
|
||||
}
|
||||
@file_put_contents("{$g['vardb_path']}/ipsecpinghosts", $ipsecpinghosts);
|
||||
unset($ipsecpinghosts);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user