mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 06:31:17 +00:00
ipv6 default prefix is 128
This commit is contained in:
parent
d213dae57c
commit
901c4394a6
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ public class ActivityDmarc extends ActivityBase {
|
||||||
String[] net = ip.substring(4).split("/");
|
String[] net = ip.substring(4).split("/");
|
||||||
if (net.length > 2)
|
if (net.length > 2)
|
||||||
continue;
|
continue;
|
||||||
Integer prefix = ip.startsWith("ip4:") ? 32 : 64;
|
Integer prefix = ip.startsWith("ip4:") ? 32 : 128;
|
||||||
if (net.length == 2)
|
if (net.length == 2)
|
||||||
prefix = Helper.parseInt(net[1]);
|
prefix = Helper.parseInt(net[1]);
|
||||||
if (prefix == null)
|
if (prefix == null)
|
||||||
|
|
Loading…
Reference in a new issue