forked from I2P_Developers/i2p.i2p
* confignet: Add UDP disable option
This commit is contained in:
@ -135,6 +135,16 @@ public class ConfigNetHelper extends HelperBase {
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* default false, inverse of default true property
|
||||
* @since 0.8.13
|
||||
*/
|
||||
public String getUdpDisabledChecked() {
|
||||
if (!_context.getBooleanPropertyDefaultTrue(TransportManager.PROP_ENABLE_UDP))
|
||||
return CHECKED;
|
||||
return "";
|
||||
}
|
||||
|
||||
public String getRequireIntroductionsChecked() {
|
||||
short status = _context.commSystem().getReachabilityStatus();
|
||||
switch (status) {
|
||||
|
Reference in New Issue
Block a user