forked from I2P_Developers/i2p.i2p
* Summary bar:
- Add reachability status - Add participating tunnel acceptance status * Throttle: Reject tunnels for first 10m uptime
This commit is contained in:
@ -124,10 +124,10 @@ public class SummaryHelper {
|
||||
case CommSystemFacade.STATUS_DIFFERENT:
|
||||
return "ERR-SymmetricNAT";
|
||||
case CommSystemFacade.STATUS_REJECT_UNSOLICITED:
|
||||
return "OK (NAT)";
|
||||
return "Firewalled";
|
||||
case CommSystemFacade.STATUS_UNKNOWN: // fallthrough
|
||||
default:
|
||||
return "Unknown";
|
||||
return "Testing";
|
||||
}
|
||||
}
|
||||
|
||||
@ -494,6 +494,12 @@ public class SummaryHelper {
|
||||
return _context.throttle().getTunnelLag() + "ms";
|
||||
}
|
||||
|
||||
public String getTunnelStatus() {
|
||||
if (_context == null)
|
||||
return "";
|
||||
return _context.throttle().getTunnelStatus();
|
||||
}
|
||||
|
||||
public String getInboundBacklog() {
|
||||
if (_context == null)
|
||||
return "0";
|
||||
|
Reference in New Issue
Block a user