forked from I2P_Developers/i2p.i2p
2008-06-09 zzz
* Reachability: Restrict peers with no SSU address at all from inbound tunnels
* News:
- Add display of last updated and last checked time
on index.jsp and configupdate.jsp
- Add a function to get update version (unused for now)
* config.jsp: Add another warning
This commit is contained in:
@@ -17,7 +17,7 @@ import net.i2p.CoreVersion;
|
||||
public class RouterVersion {
|
||||
public final static String ID = "$Revision: 1.548 $ $Date: 2008-02-10 15:00:00 $";
|
||||
public final static String VERSION = "0.6.1.33";
|
||||
public final static long BUILD = 2004;
|
||||
public final static long BUILD = 2005;
|
||||
public static void main(String args[]) {
|
||||
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
||||
System.out.println("Router ID: " + RouterVersion.ID);
|
||||
|
||||
@@ -459,7 +459,11 @@ public class ProfileOrganizer {
|
||||
l.add(peer);
|
||||
else {
|
||||
RouterAddress ra = info.getTargetAddress("SSU");
|
||||
if (ra == null) continue;
|
||||
// Definitely don't want peers with no SSU address at all
|
||||
if (ra == null) {
|
||||
l.add(peer);
|
||||
continue;
|
||||
}
|
||||
// This is the quick way of doing UDPAddress.getIntroducerCount() > 0
|
||||
Properties props = ra.getOptions();
|
||||
if (props != null && props.getProperty("ihost0") != null)
|
||||
|
||||
Reference in New Issue
Block a user