From c5eaa934fa81c7d2ce1b2adceffc87bec10f6c63 Mon Sep 17 00:00:00 2001
From: Nigel Kukard <nkukard@lbsd.net>
Date: Sun, 1 Dec 2013 09:45:18 +0000
Subject: [PATCH] Replaced data-by-limit and data-by-class

---
 opentrafficshaper/plugins/webserver/webserver.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/opentrafficshaper/plugins/webserver/webserver.pm b/opentrafficshaper/plugins/webserver/webserver.pm
index 96a02a7..7dbbf1c 100644
--- a/opentrafficshaper/plugins/webserver/webserver.pm
+++ b/opentrafficshaper/plugins/webserver/webserver.pm
@@ -151,9 +151,9 @@ sub plugin_init
 			# Load resources
 			$resources->{'HTTP'}->{'statistics'} = {
 				'by-limit' => \&opentrafficshaper::plugins::webserver::pages::statistics::bylimit,
-				'data-by-limit' => \&opentrafficshaper::plugins::webserver::pages::statistics::databylimit,
 				'by-class' => \&opentrafficshaper::plugins::webserver::pages::statistics::byclass,
-				'data-by-class' => \&opentrafficshaper::plugins::webserver::pages::statistics::databyclass,
+
+				'jsondata' => \&opentrafficshaper::plugins::webserver::pages::statistics::jsondata
 			};
 			$logger->log(LOG_INFO,"[WEBSERVER] Loaded statistics pages as statistics module is loaded");
 		}
-- 
GitLab