ipv6 default prefix is 128

pull/211/head
keykey7 2 years ago
parent d213dae57c
commit 901c4394a6
No known key found for this signature in database
GPG Key ID: 6D678D663CE5E207

@ -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)

Loading…
Cancel
Save