X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=util%2Fip.lua;h=d0ae07eb8aa3c57cd18e178b20ff10c391d0ed4b;hb=5812083079783b2797f324f9cdf4024af1f2b16e;hp=62649c9b8567d6afe1aacc85d0aa91b7948245db;hpb=d31779672144e31da9c9c07f8611a9f1278040c3;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