summaryrefslogtreecommitdiffhomepage
path: root/tunnel/src/main/java/com/wireguard/util
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2023-02-27 23:29:04 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2023-02-27 23:29:04 +0100
commitb84e4de0a78f810ae6ef014a23274457fa1c271c (patch)
tree60d9c6726881c8bede2dd44142a63bdde4b04f60 /tunnel/src/main/java/com/wireguard/util
parent35c5cb00d6af97dfd917ba7f051a8a6ba85180b8 (diff)
WIP: use first ULA address as DHCPv6 source address
Diffstat (limited to 'tunnel/src/main/java/com/wireguard/util')
-rw-r--r--tunnel/src/main/java/com/wireguard/util/Resolver.java2
1 files changed, 1 insertions, 1 deletions
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);
}