diff --git a/history.txt b/history.txt index f5689c601..09ddadac9 100644 --- a/history.txt +++ b/history.txt @@ -1,3 +1,6 @@ +2016-10-16 zzz + * Fix test for IPv6 firewalled configuration + 2016-10-14 zzz * Translations: Update from Transifex diff --git a/router/java/src/net/i2p/router/transport/TransportImpl.java b/router/java/src/net/i2p/router/transport/TransportImpl.java index 866d3bed7..d3f3a8d5f 100644 --- a/router/java/src/net/i2p/router/transport/TransportImpl.java +++ b/router/java/src/net/i2p/router/transport/TransportImpl.java @@ -813,6 +813,8 @@ public abstract class TransportImpl implements Transport { public void recheckReachability() {} /** + * This returns true if the force-firewalled setting is configured, false otherwise. + * * @since 0.9.20 */ protected boolean isIPv4Firewalled() { @@ -820,10 +822,12 @@ public abstract class TransportImpl implements Transport { } /** + * This returns true if the force-firewalled setting is configured, false otherwise. + * * @since 0.9.27 */ protected boolean isIPv6Firewalled() { - return TransportUtil.isIPv4Firewalled(_context, getStyle()); + return TransportUtil.isIPv6Firewalled(_context, getStyle()); } public boolean isBacklogged(Hash peer) { return false; } diff --git a/router/java/src/net/i2p/router/transport/TransportUtil.java b/router/java/src/net/i2p/router/transport/TransportUtil.java index 8019c74f0..de8dc0f78 100644 --- a/router/java/src/net/i2p/router/transport/TransportUtil.java +++ b/router/java/src/net/i2p/router/transport/TransportUtil.java @@ -85,6 +85,8 @@ public abstract class TransportUtil { } /** + * This returns true if the force-firewalled setting is configured, false otherwise. + * * @param transportStyle ignored * @since 0.9.20 */ @@ -93,6 +95,8 @@ public abstract class TransportUtil { } /** + * This returns true if the force-firewalled setting is configured, false otherwise. + * * @param transportStyle ignored * @since 0.9.27 */