")
else
if ((name_key ~= nil) and (pid_key == nil) and (host_key == nil)) then
general_process = 1
end
-- Prepare displayed value
if (pid_key ~= nil) then
flows = interface.findPidFlows(tonumber(pid_key))
err_label = "PID"
err_val = pid_key
elseif (name_key ~= nil) then
flows = interface.findNameFlows(name_key)
err = "Name"
err_val = name_key
end
num = 0;
if(flows ~= nil) then
for key, value in pairs(flows) do
num = num + 1
end
end
if(num == 0) then
print("
"..i18n("processes_stats.no_traffic_detected").."
")
else
if(host_key ~= nil) then
name = getResolvedAddress(hostkey2hostinfo(host_key))
if (name == nil) then
name = host_key
end
end
print [[
\n')
if(page == "Protocols") then
print [[