-- -- (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") protocol = _GET["protocol"] net = _GET["net"] asn = _GET["asn"] vlan = _GET["vlan"] network = _GET["network"] country = _GET["country"] mac = _GET["mac"] os_ = _GET["os"] community = _GET["community"] mode = _GET["mode"] if(mode == nil) then mode = "all" end active_page = "hosts" dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua") prefs = ntop.getPrefs() ifstats = interface.getStats() print [[