From 64ebcea50a72e9269c72771307bf30caf3aa46b8 Mon Sep 17 00:00:00 2001 From: zzz Date: Wed, 3 Mar 2021 07:06:42 -0500 Subject: [PATCH] SSU: Fix transition out of IPv4 firewalled after UPnP success --- router/java/src/net/i2p/router/transport/udp/UDPTransport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/java/src/net/i2p/router/transport/udp/UDPTransport.java b/router/java/src/net/i2p/router/transport/udp/UDPTransport.java index ea4b2b2c4..3271f2ae2 100644 --- a/router/java/src/net/i2p/router/transport/udp/UDPTransport.java +++ b/router/java/src/net/i2p/router/transport/udp/UDPTransport.java @@ -1022,7 +1022,7 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority } if (success && ip != null) { if (ip.length == 4) { - if (getExternalIP() != null && !isIPv4Firewalled()) + if (getCurrentExternalAddress(false) != null && !isIPv4Firewalled()) setReachabilityStatus(Status.IPV4_OK_IPV6_UNKNOWN); } else if (ip.length == 16) { boolean fwOld = _context.getBooleanProperty(PROP_IPV6_FIREWALLED);