ipv6 default prefix is 128

This commit is contained in:
keykey7
2023-01-11 21:37:25 +01:00
parent d213dae57c
commit 901c4394a6

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)