Code cleanup

This commit is contained in:
Luca Deri 2017-12-16 08:23:56 +01:00
parent d271072d69
commit c9ecd931d9
31 changed files with 101 additions and 101 deletions

View file

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