Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2021-04-08 15:48:27 +0300
committerGitHub <noreply@github.com>2021-04-08 15:48:27 +0300
commit2bedbc1793d65be0b688c5131a43c74a9f483012 (patch)
tree363c2d4edca95e0934880c9242241d6f242844d1 /lib
parent521a0b0ad35d3ae8c85dbe147b41d551885505ac (diff)
parente5a4236e686bfc97a69753b4a8e932b2f633de83 (diff)
Merge pull request #26439 from nextcloud/increase-subnet-matcher
Increase subnet matcher
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Security/Normalizer/IpAddress.php4
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
);
}