forked from I2P_Developers/i2p.i2p
do not use 8887 default in UI
This commit is contained in:
@ -224,7 +224,7 @@ public class ConfigNetHandler extends FormHandler {
|
||||
|
||||
// UDP Settings
|
||||
if ( (_udpPort != null) && (_udpPort.length() > 0) ) {
|
||||
String oldPort = "" + _context.getProperty(UDPTransport.PROP_INTERNAL_PORT, UDPTransport.DEFAULT_INTERNAL_PORT);
|
||||
String oldPort = _context.getProperty(UDPTransport.PROP_INTERNAL_PORT, "unset");
|
||||
if (!oldPort.equals(_udpPort)) {
|
||||
changes.put(UDPTransport.PROP_INTERNAL_PORT, _udpPort);
|
||||
changes.put(UDPTransport.PROP_EXTERNAL_PORT, _udpPort);
|
||||
|
@ -61,7 +61,7 @@ public class ConfigNetHelper extends HelperBase {
|
||||
}
|
||||
|
||||
public String getConfiguredUdpPort() {
|
||||
return "" + _context.getProperty(UDPTransport.PROP_INTERNAL_PORT, UDPTransport.DEFAULT_INTERNAL_PORT);
|
||||
return _context.getProperty(UDPTransport.PROP_INTERNAL_PORT, "unset");
|
||||
}
|
||||
|
||||
/** @param prop must default to false */
|
||||
|
Reference in New Issue
Block a user