* summary bar: Add a warning if you are firewalled and class O

This commit is contained in:
zzz
2008-06-01 20:43:51 +00:00
parent 74a5abbc11
commit 6345e669bc

View File

@ -126,6 +126,8 @@ public class SummaryHelper {
case CommSystemFacade.STATUS_REJECT_UNSOLICITED: case CommSystemFacade.STATUS_REJECT_UNSOLICITED:
if (_context.router().getRouterInfo().getTargetAddress("NTCP") != null) if (_context.router().getRouterInfo().getTargetAddress("NTCP") != null)
return "WARN-Firewalled with Inbound TCP Enabled"; return "WARN-Firewalled with Inbound TCP Enabled";
else if (_context.router().getRouterInfo().getCapabilities().indexOf('O') >= 0)
return "WARN-Firewalled and Fast";
else else
return "Firewalled"; return "Firewalled";
case CommSystemFacade.STATUS_UNKNOWN: // fallthrough case CommSystemFacade.STATUS_UNKNOWN: // fallthrough