projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: Replaces tabs with spaces in --help
[prosody.git]
/
util
/
ip.lua
diff --git
a/util/ip.lua
b/util/ip.lua
index 5b866b04aeae46a663f969bfb924792c424645d4..2f09c03406964b4c516c407177bb50fb3e98f135 100644
(file)
--- a/
util/ip.lua
+++ b/
util/ip.lua
@@
-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] == 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
return 0x5;
-- Global unicast:
else