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
2fb1c60c
Commit
2fb1c60c
authored
Apr 04, 2016
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(netflow) camelcase cache_stats
parent
bec30ed2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
NetflowController.php
...ontrollers/OPNsense/Diagnostics/Api/NetflowController.php
+1
-1
netflow.volt
src/opnsense/mvc/app/views/OPNsense/Diagnostics/netflow.volt
+1
-1
No files found.
src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api/NetflowController.php
View file @
2fb1c60c
...
...
@@ -142,7 +142,7 @@ class NetflowController extends ApiControllerBase
* Retrieve netflow cache statistics
* @return array cache statistics per netgraph node
*/
public
function
cache
_s
tatsAction
()
public
function
cache
S
tatsAction
()
{
$backend
=
new
Backend
();
$response
=
$backend
->
configdRun
(
"netflow cache stats json"
);
...
...
src/opnsense/mvc/app/views/OPNsense/Diagnostics/netflow.volt
View file @
2fb1c60c
...
...
@@ -46,7 +46,7 @@ POSSIBILITY OF SUCH DAMAGE.
});
$("#act_refresh_cache_stats").click(function(){
ajaxGet(url='/api/diagnostics/netflow/cache
_s
tats',sendData={}, callback=function(data, status) {
ajaxGet(url='/api/diagnostics/netflow/cache
S
tats',sendData={}, callback=function(data, status) {
var html = []
// convert to plain Array
var data_arr = $.makeArray(data)[0];
...
...
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