Changeset

9956:737483a4b2e6

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Sun, 14 Apr 2019 02:11:52 +0200
parents 9954:36280801ddf1 (current diff) 9955:c74c89a96cbf (diff)
children 9957:c8cfd2a5845c
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/ip.lua	Sat Apr 13 23:55:34 2019 +0200
+++ b/util/ip.lua	Sun Apr 14 02:11:52 2019 +0200
@@ -203,7 +203,7 @@
 function ip_methods:private()
 	local private = self.scope ~= 0xE;
 	if not private and self.proto == "IPv4" then
-		return match(self, rfc1918_8, 8) or match(self, rfc1918_12, 12) or match(self, rfc1918_16) or match(self, rfc6598, 10);
+		return match(self, rfc1918_8, 8) or match(self, rfc1918_12, 12) or match(self, rfc1918_16, 16) or match(self, rfc6598, 10);
 	end
 	return private;
 end