nEdge packaging

This commit is contained in:
Simone Mainardi 2017-12-17 23:14:47 +01:00
parent bcac2487c6
commit 04627745ae
14 changed files with 59 additions and 52 deletions

View file

@ -3378,16 +3378,6 @@ function isBridgeInterface(ifstats)
return ifstats.inline
end
function haveNedge()
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()
@ -3410,7 +3400,7 @@ end
-- Returns true if the captive portal can be started with the current configuration
function isCaptivePortalSupported(ifstats, prefs, skip_interface_check)
if not ntop.isEnterprise() and not haveNedge() then
if not ntop.isEnterprise() and not ntop.isnEdge() then
return false
end