forked from I2P_Developers/i2p.i2p
Console: Fix detection of UPnP setting changing
This commit is contained in:
@ -339,7 +339,7 @@ public class ConfigNetHandler extends FormHandler {
|
|||||||
|
|
||||||
changes.put(Router.PROP_DYNAMIC_KEYS, "" + _dynamicKeys);
|
changes.put(Router.PROP_DYNAMIC_KEYS, "" + _dynamicKeys);
|
||||||
|
|
||||||
if (Boolean.parseBoolean(_context.getProperty(TransportManager.PROP_ENABLE_UPNP)) !=
|
if (_context.getBooleanPropertyDefaultTrue(TransportManager.PROP_ENABLE_UPNP) !=
|
||||||
_upnp) {
|
_upnp) {
|
||||||
// This is minor, don't set restartRequired
|
// This is minor, don't set restartRequired
|
||||||
if (_upnp)
|
if (_upnp)
|
||||||
|
Reference in New Issue
Block a user