mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Initial nedge2 lua page setup
This commit is contained in:
parent
f85f3be347
commit
e3941556ae
7 changed files with 108 additions and 1 deletions
|
|
@ -3379,6 +3379,16 @@ function isBridgeInterface(ifstats)
|
|||
return ifstats.inline
|
||||
end
|
||||
|
||||
function haveNedge2()
|
||||
local ifstats = interface.getStats()
|
||||
|
||||
if ifstats.type == "netfilter" then
|
||||
return true
|
||||
end
|
||||
|
||||
return false
|
||||
end
|
||||
|
||||
function hasBridgeInterfaces(skip_netfilter)
|
||||
local curif = ifname
|
||||
local ifnames = interface.getIfNames()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue