mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Hides VLAN in the host details page when tag is zero
This commit is contained in:
parent
4155bd69b5
commit
e61a5ba85b
1 changed files with 1 additions and 1 deletions
|
|
@ -531,7 +531,7 @@ if((page == "overview") or (page == nil)) then
|
|||
end
|
||||
end
|
||||
|
||||
if host["vlan"] then
|
||||
if host["vlan"] and host["vlan"] > 0 then
|
||||
print("<tr><th>")
|
||||
print(i18n("details.vlan_id"))
|
||||
print("</th><td colspan=2><A HREF="..ntop.getHttpPrefix().."/lua/hosts_stats.lua?vlan="..host["vlan"]..">"..host["vlan"].."</A></td></tr>\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue