-- -- (C) 2013-17 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" sendHTTPHeader('text/html; charset=iso-8859-1') ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc") active_page = "hosts" dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua") local base_url = ntop.getHttpPrefix().."/lua/network_stats.lua" local page_params = {} page_params["grouped_by"] = "local_network" if not isEmptyString(_GET["version"]) then page_params["version"] = _GET["version"] end function getPageTitle() local t = "Networks" if not isEmptyString(_GET["version"]) then t = t .. " with IPv" .. _GET["version"] .. " traffic" end return t end print [[