mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Code cleanup
This commit is contained in:
parent
d271072d69
commit
c9ecd931d9
31 changed files with 101 additions and 101 deletions
|
|
@ -3378,7 +3378,7 @@ function isBridgeInterface(ifstats)
|
|||
return ifstats.inline
|
||||
end
|
||||
|
||||
function haveNedge2()
|
||||
function haveNedge()
|
||||
local ifstats = interface.getStats()
|
||||
|
||||
if ifstats.type == "netfilter" then
|
||||
|
|
@ -3410,7 +3410,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 haveNedge2() then
|
||||
if not ntop.isEnterprise() and not haveNedge() then
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue