mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Captive portal HTTP server fixes
This commit is contained in:
parent
56b275124f
commit
8f1228c04f
7 changed files with 58 additions and 62 deletions
|
|
@ -3068,7 +3068,7 @@ function isCaptivePortalSupported(ifstats, prefs, skip_interface_check)
|
|||
end
|
||||
|
||||
local prefs = prefs or ntop.getPrefs()
|
||||
return is_bridge_iface and (prefs["http.port"] == 80) and (prefs["http.alt_port"] ~= 0)
|
||||
return is_bridge_iface and (prefs["http.port"] ~= 80)
|
||||
end
|
||||
|
||||
-- Returns true if the captive portal is active right now
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue