-- -- (C) 2013-15 - 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 = "flows" dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua") application = _GET["application"] application_filter = "" hosts = _GET["hosts"] aggregation = _GET["aggregation"] key = _GET["key"] host = _GET["host"] vhost = _GET["vhost"] network_id=_GET["network_id"] prefs = ntop.getPrefs() interface.select(ifname) is_historical = interface.isHistoricalInterface(interface.name2id(ifname)) ifstats = interface.getStats() ndpistats = interface.getNdpiStats() num_param = 0 print [[