mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Added check
This commit is contained in:
parent
3da3f26a90
commit
cda8ad2fbc
1 changed files with 1 additions and 1 deletions
|
|
@ -2047,7 +2047,7 @@ else
|
|||
print("<td colspan=\"2\">" .. custom_name .. "</td></tr>")
|
||||
end
|
||||
|
||||
if (snmpdevice ~= nil) then
|
||||
if ((snmpdevice ~= nil) and (snmpdevice ~= "0.0.0.0")) then
|
||||
local exporter_info_url = ntop.getHttpPrefix() .. "/lua/pro/enterprise/flowdevice_details.lua?ip=" .. snmpdevice
|
||||
print("<tr><th>" .. i18n("details.flow_exporter") .. "</th>")
|
||||
print("<td colspan=\"2\">" .. "<a href=" .. exporter_info_url .. ">" .. snmpdevice .. "</a></td></tr>")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue