- Show yellow star if no outbound tunnels

This commit is contained in:
zzz
2010-02-02 15:18:22 +00:00
parent 33b7dca782
commit d4637818be
4 changed files with 19 additions and 1 deletions

View File

@ -390,7 +390,7 @@ public class SummaryHelper extends HelperBase {
buf.append(name.substring(0,15)).append("…");
buf.append("</a></b></td>\n");
LeaseSet ls = _context.netDb().lookupLeaseSetLocally(h);
if (ls != null) {
if (ls != null && _context.tunnelManager().getOutboundClientTunnelCount(h) > 0) {
long timeToExpire = ls.getEarliestLeaseDate() - _context.clock().now();
if (timeToExpire < 0) {
// red or yellow light