From b84e4de0a78f810ae6ef014a23274457fa1c271c Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 27 Feb 2023 23:29:04 +0100 Subject: WIP: use first ULA address as DHCPv6 source address --- tunnel/src/main/java/com/wireguard/util/Resolver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tunnel/src/main/java/com/wireguard/util') diff --git a/tunnel/src/main/java/com/wireguard/util/Resolver.java b/tunnel/src/main/java/com/wireguard/util/Resolver.java index f401b584..301e03e0 100644 --- a/tunnel/src/main/java/com/wireguard/util/Resolver.java +++ b/tunnel/src/main/java/com/wireguard/util/Resolver.java @@ -36,7 +36,7 @@ public class Resolver { } } - static boolean isULA(Inet6Address addr) { + public static boolean isULA(Inet6Address addr) { byte[] raw = addr.getAddress(); return ((raw[0] & 0xfe) == 0xfc); } -- cgit v1.2.3