mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
nEdge packaging
This commit is contained in:
parent
bcac2487c6
commit
04627745ae
14 changed files with 59 additions and 52 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue