# HG changeset patch # User Kim Alvefur # Date 1625326087 -7200 # Node ID a227bc35771e9c72f803a607bdce2b5c995890f6 # Parent 96d3cbeb92755377273b02dc00664fe67e7f3254# Parent aa119de5f6c72a066f6ccb541f21352c38c9cd15 Merge 0.11->trunk diff -r 96d3cbeb9275 -r a227bc35771e util/ip.lua --- a/util/ip.lua Sat Jul 03 04:35:29 2021 +0200 +++ b/util/ip.lua Sat Jul 03 17:28:07 2021 +0200 @@ -106,7 +106,7 @@ local function v4scope(ip) if match(ip, loopback4, 8) then return 0x2; - elseif match(ip, linklocal4) then + elseif match(ip, linklocal4, 16) then return 0x2; else -- Global unicast return 0xE;