I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 4336dc44 authored by zzz's avatar zzz
Browse files

Remove spurious UDP warning on startup

parent 2d86e7cf
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ public class SummaryHelper {
case CommSystemFacade.STATUS_UNKNOWN: // fallthrough
default:
ra = _context.router().getRouterInfo().getTargetAddress("UDP");
if (ra == null) {
if (ra == null && _context.router().getUptime() > 5*60*1000) {
if (_context.getProperty(ConfigNetHelper.PROP_I2NP_NTCP_HOSTNAME) == null ||
_context.getProperty(ConfigNetHelper.PROP_I2NP_NTCP_PORT) == null)
return "ERR-UDP Disabled and Inbound TCP host/port not set";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment