diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2021-04-08 14:48:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 14:48:27 +0200 |
commit | 2bedbc1793d65be0b688c5131a43c74a9f483012 (patch) | |
tree | 363c2d4edca95e0934880c9242241d6f242844d1 /lib | |
parent | 521a0b0ad35d3ae8c85dbe147b41d551885505ac (diff) | |
parent | e5a4236e686bfc97a69753b4a8e932b2f633de83 (diff) | |
download | nextcloud-server-2bedbc1793d65be0b688c5131a43c74a9f483012.tar.gz nextcloud-server-2bedbc1793d65be0b688c5131a43c74a9f483012.zip |
Merge pull request #26439 from nextcloud/increase-subnet-matcher
Increase subnet matcher
Diffstat (limited to 'lib')
-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 ); } |