mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fix allowed networks when --disable-login is used
This commit is contained in:
parent
0613f234fc
commit
6b89854ba8
2 changed files with 2 additions and 2 deletions
|
|
@ -133,7 +133,7 @@ function hasAllowedNetworksSet()
|
|||
cached_allowed_networks_set = false
|
||||
|
||||
for _, net in pairs(allowed_nets) do
|
||||
if((net ~= "0.0.0.0/0") and (net ~= "::/0")) then
|
||||
if((not isEmptyString(net)) and (net ~= "0.0.0.0/0") and (net ~= "::/0")) then
|
||||
cached_allowed_networks_set = true
|
||||
break
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue