Console: Fix detection of UPnP setting changing

This commit is contained in:
zzz
2017-04-13 15:45:24 +00:00
parent dd8f7638c5
commit 5fa6583a4e

View File

@ -339,7 +339,7 @@ public class ConfigNetHandler extends FormHandler {
changes.put(Router.PROP_DYNAMIC_KEYS, "" + _dynamicKeys);
if (Boolean.parseBoolean(_context.getProperty(TransportManager.PROP_ENABLE_UPNP)) !=
if (_context.getBooleanPropertyDefaultTrue(TransportManager.PROP_ENABLE_UPNP) !=
_upnp) {
// This is minor, don't set restartRequired
if (_upnp)