forked from I2P_Developers/i2p.i2p
/confignet: Reorganize (ticket #2217)
This commit is contained in:
@ -148,7 +148,7 @@ public class ConfigNetHandler extends FormHandler {
|
||||
|
||||
/** @since 0.8.13 */
|
||||
public void setDisableUDP(String foo) {
|
||||
_udpDisabled = true;
|
||||
_udpDisabled = "disabled".equals(foo);
|
||||
}
|
||||
|
||||
/** @since IPv6 */
|
||||
|
@ -160,6 +160,16 @@ public class ConfigNetHelper extends HelperBase {
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* default true
|
||||
* @since 0.9.35
|
||||
*/
|
||||
public String getUdpEnabledChecked() {
|
||||
if (_context.getBooleanPropertyDefaultTrue(TransportManager.PROP_ENABLE_UDP))
|
||||
return CHECKED;
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* This isn't updated for the new statuses, but it's commented out in the jsp.
|
||||
* @deprecated unused, to be fixed if needed
|
||||
|
Reference in New Issue
Block a user