aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-04-14 02:11:52 +0200
committerKim Alvefur <zash@zash.se>2019-04-14 02:11:52 +0200
commit0bcc500e3f4a14d300468ccc34b72a37b7ef4215 (patch)
tree1f0f61f4a559b6010d6bb2dfaefb6862acea83d6 /util
parentb8f3a149da84f707c1d1c1237b7aa005d4d97d9b (diff)
parent86b34563ebbd63da7c4653b06537cca12e046c3c (diff)
downloadprosody-0bcc500e3f4a14d300468ccc34b72a37b7ef4215.tar.gz
prosody-0bcc500e3f4a14d300468ccc34b72a37b7ef4215.zip
Merge 0.11->trunk
Diffstat (limited to 'util')
-rw-r--r--util/ip.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ip.lua b/util/ip.lua
index 0ec9e297..d1808225 100644
--- a/util/ip.lua
+++ b/util/ip.lua
@@ -203,7 +203,7 @@ local rfc6598 = new_ip("100.64.0.0");
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