forked from I2P_Developers/i2p.i2p
Fix test for IPv6 firewalled configuration, javadocs
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2016-10-16 zzz
|
||||
* Fix test for IPv6 firewalled configuration
|
||||
|
||||
2016-10-14 zzz
|
||||
* Translations: Update from Transifex
|
||||
|
||||
|
@@ -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; }
|
||||
|
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user