mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-05-18 06:55:13 +00:00
- Implement UPnP enable/disable
This commit is contained in:
@@ -109,6 +109,13 @@ public class ConfigNetHelper extends HelperBase {
|
||||
return "";
|
||||
}
|
||||
|
||||
public String getUpnpChecked() {
|
||||
if (Boolean.valueOf(_context.getProperty(TransportManager.PROP_ENABLE_UPNP)).booleanValue())
|
||||
return " checked ";
|
||||
else
|
||||
return "";
|
||||
}
|
||||
|
||||
public String getRequireIntroductionsChecked() {
|
||||
short status = _context.commSystem().getReachabilityStatus();
|
||||
switch (status) {
|
||||
|
||||
Reference in New Issue
Block a user