Remove spurious UDP warning on startup

This commit is contained in:
zzz
2008-12-20 01:04:19 +00:00
parent 2d86e7cf60
commit 4336dc441e

View File

@ -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";