mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Add interface.isSubInterface
This commit is contained in:
parent
1674d29d71
commit
17f2c5bc27
6 changed files with 27 additions and 10 deletions
|
|
@ -730,7 +730,7 @@ function page_utils.get_interface_list()
|
|||
ifdescr[_ifstats.id] = _ifstats.description
|
||||
--io.write("["..k.."/"..v.."][".._ifstats.id.."] "..ifnames[_ifstats.id].."=".._ifstats.id.."\n")
|
||||
if(_ifstats.isView == true) then views[k] = true end
|
||||
if(_ifstats.isDynamic == true) then dynamic[k] = true end
|
||||
if(interface.isSubInterface()) then dynamic[k] = true end
|
||||
if(recording_utils.isEnabled(_ifstats.id)) then recording[k] = true end
|
||||
if(interface.isPacketInterface()) then packetinterfaces[k] = true end
|
||||
if(_ifstats.stats_since_reset.drops * 100 > _ifstats.stats_since_reset.packets) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue