forked from I2P_Developers/i2p.i2p
* Router:
- Auto-hidden mode for bad countries - Don't put addresses in our RouterInfo when hidden
This commit is contained in:
@ -140,7 +140,8 @@ public class ConfigNetHandler extends FormHandler {
|
||||
|
||||
if (!_ratesOnly) {
|
||||
// IP Settings
|
||||
String oldUdp = _context.getProperty(UDPTransport.PROP_SOURCES, UDPTransport.DEFAULT_SOURCES);
|
||||
String oldUdp = _context.getProperty(UDPTransport.PROP_SOURCES,
|
||||
_context.router().isHidden() ? "hidden" : UDPTransport.DEFAULT_SOURCES);
|
||||
String oldUHost = _context.getProperty(UDPTransport.PROP_EXTERNAL_HOST, "");
|
||||
if (_udpAutoIP != null) {
|
||||
String uhost = "";
|
||||
|
Reference in New Issue
Block a user