ipsec: better safe than sorry

This commit is contained in:
Franco Fichtner 2017-09-06 18:21:27 +02:00
parent e2c7dc562b
commit 1d3b6e610d

View File

@ -62,6 +62,9 @@ function ipsec_ikeid_next() {
return $ikeid;
}
config_read_array('ipsec', 'phase1');
config_read_array('ipsec', 'phase2');
if ($_SERVER['REQUEST_METHOD'] === 'GET') {
// fetch data
if (isset($_GET['dup']) && is_numericint($_GET['dup'])) {