ipsec: oops for #6309

This commit is contained in:
Franco Fichtner 2023-02-08 17:14:26 +01:00
parent a9dcd3f825
commit 0dfa6c44af

View File

@ -61,7 +61,7 @@ class LegacySubsystemController extends ApiControllerBase
{
$result = ["status" => "failed"];
if ($this->request->isPost()) {
$bckresult = trim((new Backend())->configdRun('ipsec reconfigure'));
$bckresult = trim((new Backend())->configdRun('ipsec reload'));
if ($bckresult === 'OK') {
$result['message'] = gettext('The changes have been applied successfully.');
$result['status'] = "ok";