forked from I2P_Developers/i2p.i2p
i2ptunnel: More disabled options
This commit is contained in:
@ -274,6 +274,13 @@ public class EditBean extends IndexBean {
|
||||
return true;
|
||||
}
|
||||
|
||||
/** @since 0.9.46 */
|
||||
public boolean canChangePort(int tunnel) {
|
||||
if (tunnel < 0)
|
||||
return true;
|
||||
return getTunnelStatus(tunnel) == GeneralHelper.NOT_RUNNING;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param encType code
|
||||
* @since 0.9.44
|
||||
|
Reference in New Issue
Block a user