diff options
author | Kim Alvefur <zash@zash.se> | 2019-04-14 02:11:52 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-04-14 02:11:52 +0200 |
commit | 85ad1cc6e2078549ca3942e793d4fedba469277f (patch) | |
tree | 1f0f61f4a559b6010d6bb2dfaefb6862acea83d6 | |
parent | f5dd9bf4c61dcbc768490cabb25bf58ed0111eaf (diff) | |
parent | 85355a78c23909937f9511c7401a4119e2b6e25d (diff) | |
download | prosody-85ad1cc6e2078549ca3942e793d4fedba469277f.tar.gz prosody-85ad1cc6e2078549ca3942e793d4fedba469277f.zip |
Merge 0.11->trunk
-rw-r--r-- | util/ip.lua | 2 |
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 |