diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2021-04-07 12:07:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-07 12:28:59 +0000 |
commit | e5a4236e686bfc97a69753b4a8e932b2f633de83 (patch) | |
tree | e83a599c91ca843245493307cc99a1fbbaf29283 /lib/private/Security/Normalizer | |
parent | b9907df702d37ea72bd2a28fca3d50f413207339 (diff) | |
download | nextcloud-server-e5a4236e686bfc97a69753b4a8e932b2f633de83.tar.gz nextcloud-server-e5a4236e686bfc97a69753b4a8e932b2f633de83.zip |
Increase subnet matcher
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/Security/Normalizer')
-rw-r--r-- | lib/private/Security/Normalizer/IpAddress.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Security/Normalizer/IpAddress.php b/lib/private/Security/Normalizer/IpAddress.php index cbfc212e1ce..0a3606de28a 100644 --- a/lib/private/Security/Normalizer/IpAddress.php +++ b/lib/private/Security/Normalizer/IpAddress.php @@ -93,7 +93,7 @@ class IpAddress { } /** - * Gets either the /32 (IPv4) or the /128 (IPv6) subnet of an IP address + * Gets either the /32 (IPv4) or the /64 (IPv6) subnet of an IP address * * @return string */ @@ -106,7 +106,7 @@ class IpAddress { } return $this->getIPv6Subnet( $this->ip, - 128 + 64 ); } |