Initial nedge2 lua page setup

This commit is contained in:
emanuele-f 2017-12-05 12:53:59 +01:00
parent f85f3be347
commit e3941556ae
7 changed files with 108 additions and 1 deletions

View file

@ -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()