diff --git a/opentrafficshaper/plugins/webserver/webserver.pm b/opentrafficshaper/plugins/webserver/webserver.pm index 96a02a766c4bbdbcc7cb90ebef21260d8015c822..7dbbf1c7c45d129ab701838fb2aebe800c664e26 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"); }