Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
27f161d9
Commit
27f161d9
authored
May 28, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(trafficshaper) add template generation to service reload action
parent
eed931ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ServiceController.php
...trollers/OPNsense/TrafficShaper/Api/ServiceController.php
+4
-1
No files found.
src/opnsense/mvc/app/controllers/OPNsense/TrafficShaper/Api/ServiceController.php
View file @
27f161d9
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
* POSSIBILITY OF SUCH DAMAGE.
* POSSIBILITY OF SUCH DAMAGE.
*
*
*/
*/
namespace
OPNsense\
Proxy\TrafficShaper
;
namespace
OPNsense\
TrafficShaper\Api
;
use
\OPNsense\Base\ApiControllerBase
;
use
\OPNsense\Base\ApiControllerBase
;
use
\OPNsense\Core\Backend
;
use
\OPNsense\Core\Backend
;
...
@@ -47,6 +47,9 @@ class ServiceController extends ApiControllerBase
...
@@ -47,6 +47,9 @@ class ServiceController extends ApiControllerBase
// close session for long running action
// close session for long running action
$this
->
sessionClose
();
$this
->
sessionClose
();
$backend
=
new
Backend
();
$backend
->
configdRun
(
"template reload OPNsense.IPFW"
);
return
array
(
"status"
=>
"ok"
);
return
array
(
"status"
=>
"ok"
);
}
else
{
}
else
{
return
array
(
"status"
=>
"failed"
);
return
array
(
"status"
=>
"failed"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment