mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
ipsec: oops for #6309
This commit is contained in:
parent
a9dcd3f825
commit
0dfa6c44af
@ -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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user