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