summaryrefslogtreecommitdiffstats
path: root/lib/private/Security/Normalizer/IpAddress.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Security/Normalizer/IpAddress.php')
-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
);
}