Added support for changeng which IP I2PControl listens to. For now only 127.0.0.1/0.0.0.0.
Revised layout in SettingsFrame.
This commit is contained in:
@ -24,7 +24,7 @@ public class GetI2PControl {
|
||||
|
||||
|
||||
public static EnumMap<I2P_CONTROL, Object> execute(I2P_CONTROL ... settings)
|
||||
throws InvalidPasswordException, JSONRPC2SessionException, InvalidParametersException{
|
||||
throws InvalidPasswordException, JSONRPC2SessionException{
|
||||
|
||||
JSONRPC2Request req = new JSONRPC2Request("I2PControl", JSONRPC2Interface.incrNonce());
|
||||
|
||||
@ -59,6 +59,8 @@ public class GetI2PControl {
|
||||
}
|
||||
} catch (UnrecoverableFailedRequestException e) {
|
||||
_log.error("getI2PControl failed.", e);
|
||||
} catch (InvalidParametersException e) {
|
||||
_log.error("getI2PControl was rejected by remote host as invalid.", e);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user