X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=util%2Fip.lua;h=d0ae07eb8aa3c57cd18e178b20ff10c391d0ed4b;hb=95dfe4b0aaaf26ee4651c09eb9757c56210a135a;hp=62649c9b8567d6afe1aacc85d0aa91b7948245db;hpb=2d8c1bb0bef34f6dc4377734d1143524f6994167;p=prosody.git diff --git a/util/ip.lua b/util/ip.lua index 62649c9b..d0ae07eb 100644 --- a/util/ip.lua +++ b/util/ip.lua @@ -92,7 +92,7 @@ local function v6scope(ip) if ip:match("^[0:]*1$") then return 0x2; -- Link-local unicast: - elseif ip:match("^[Ff][Ee][89ABab]") then + elseif ip:match("^[Ff][Ee][89ABab]") then return 0x2; -- Site-local unicast: elseif ip:match("^[Ff][Ee][CcDdEeFf]") then