mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
util.ip: Fix syntax error (while I search for my pre-commit hooks)
This commit is contained in:
parent
762989f7c9
commit
c08e057bd2
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ local function v4scope(ip)
|
|||
elseif fields[1] == 169 and fields[2] == 254 then
|
||||
return 0x2;
|
||||
-- Site-local unicast:
|
||||
elseif (fields[1] == 10) or (fields[1] == 192 and fields[2] == 168) or (fields[1] == 172 and (fields[2] >= 16 and fields[2] < 32) then
|
||||
elseif (fields[1] == 10) or (fields[1] == 192 and fields[2] == 168) or (fields[1] == 172 and (fields[2] >= 16 and fields[2] < 32)) then
|
||||
return 0x5;
|
||||
-- Global unicast:
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue