Changeset 808557d


Ignore:
Timestamp:
Sep 6, 2008 1:47:56 PM (12 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
a3108ea
Parents:
6501d40
Message:
  • Summary Bar: Warn if firewalled and floodfill
File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java

    r6501d40 r808557d  
    1717import net.i2p.router.RouterVersion;
    1818import net.i2p.router.TunnelPoolSettings;
     19import net.i2p.router.networkdb.kademlia.FloodfillNetworkDatabaseFacade;
    1920import net.i2p.router.transport.ntcp.NTCPAddress;
    2021import net.i2p.stat.Rate;
     
    132133                if (_context.router().getRouterInfo().getTargetAddress("NTCP") != null)
    133134                    return "WARN-Firewalled with Inbound TCP Enabled";
    134                 else if (_context.router().getRouterInfo().getCapabilities().indexOf('O') >= 0)
     135                if (((FloodfillNetworkDatabaseFacade)_context.netDb()).floodfillEnabled())
     136                    return "WARN-Firewalled and Floodfill";
     137                if (_context.router().getRouterInfo().getCapabilities().indexOf('O') >= 0)
    135138                    return "WARN-Firewalled and Fast";
    136                 else
    137                     return "Firewalled";
     139                return "Firewalled";
    138140            case CommSystemFacade.STATUS_HOSED:
    139141                return "ERR-UDP Port In Use - Set i2np.udp.internalPort=xxxx in advanced config and restart";
Note: See TracChangeset for help on using the changeset viewer.