1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-22 22:21:18 +00:00

ipv6 default prefix is 128

This commit is contained in:
keykey7 2023-01-11 21:37:25 +01:00
parent d213dae57c
commit 901c4394a6
No known key found for this signature in database
GPG key ID: 6D678D663CE5E207

View file

@ -274,7 +274,7 @@ public class ActivityDmarc extends ActivityBase {
String[] net = ip.substring(4).split("/");
if (net.length > 2)
continue;
Integer prefix = ip.startsWith("ip4:") ? 32 : 64;
Integer prefix = ip.startsWith("ip4:") ? 32 : 128;
if (net.length == 2)
prefix = Helper.parseInt(net[1]);
if (prefix == null)