Changeset

11650:a227bc35771e

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 03 Jul 2021 17:28:07 +0200
parents 11648:96d3cbeb9275 (current diff) 11649:aa119de5f6c7 (diff)
children 11651:c9f46d28ed7e
files util/ip.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;