mod_motd, mod_register, mod_private, mod_http_errors, mod_admin_adhoc: Remove unused...
[prosody.git] / util / ip.lua
index 5b866b04aeae46a663f969bfb924792c424645d4..2f09c03406964b4c516c407177bb50fb3e98f135 100644 (file)
@@ -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