I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit b88c8a4f authored by zzz's avatar zzz
Browse files

UPnP: Fix IPv6 address check (ticket #2811)

parent 58aa95df
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ public class HostInterface
if (((ipfilter & IPV4_BITMASK)!=0) && addr instanceof Inet4Address ) {
addresses.add(addr);
}else if (((ipfilter & IPV6_BITMASK)!=0)&& addr instanceof InetAddress) {
}else if (((ipfilter & IPV6_BITMASK)!=0) && addr instanceof Inet6Address) {
addresses.add(addr);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment