mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Little fixes
This commit is contained in:
parent
fe239544d4
commit
2d1a0a518d
4 changed files with 5 additions and 4 deletions
|
|
@ -3162,12 +3162,12 @@ function isCaptivePortalSupported(ifstats, prefs, skip_interface_check)
|
|||
|
||||
if not skip_interface_check then
|
||||
local ifstats = ifstats or interface.getStats()
|
||||
local prefs = prefs or ntop.getPrefs()
|
||||
is_bridge_iface = isBridgeInterface(ifstats)
|
||||
else
|
||||
is_bridge_iface = true
|
||||
end
|
||||
|
||||
local prefs = prefs or ntop.getPrefs()
|
||||
return is_bridge_iface and (prefs["http.port"] == 80) and (prefs["http.alt_port"] ~= 0)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue