Commit c85b9ed2 authored by Ad Schellevis's avatar Ad Schellevis

(trafficshaper) add ipfw reload action

parent 61e69b08
......@@ -49,8 +49,9 @@ class ServiceController extends ApiControllerBase
$backend = new Backend();
$backend->configdRun("template reload OPNsense.IPFW");
$status = $backend->configdRun("ipfw reload");
return array("status" => "ok");
return array("status" => $status);
} else {
return array("status" => "failed");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment