aboutsummaryrefslogtreecommitdiffstats
path: root/util/ip.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-11-30 19:37:13 +0000
committerMatthew Wild <mwild1@gmail.com>2011-11-30 19:37:13 +0000
commitc08e057bd2cf4822f73defb5ea581c7c77cd8e8a (patch)
treebdf7c721e3097f1a1b83780db7ec4c3ad95f386e /util/ip.lua
parent762989f7c94be6aee39ae01f91894dbd0fafb890 (diff)
downloadprosody-c08e057bd2cf4822f73defb5ea581c7c77cd8e8a.tar.gz
prosody-c08e057bd2cf4822f73defb5ea581c7c77cd8e8a.zip
util.ip: Fix syntax error (while I search for my pre-commit hooks)
Diffstat (limited to 'util/ip.lua')
-rw-r--r--util/ip.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ip.lua b/util/ip.lua
index 5b866b04..2f09c034 100644
--- 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] == 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