mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-26 10:55:09 +01:00
ipv6 default prefix is 128
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user