Update of /cvsroot/freenet/freenet/src/freenet/node
In directory sc8-pr-cvs1:/tmp/cvs-serv27598/freenet/src/freenet/node
Modified Files:
FailureTable.java
Log Message:
After talking to zab, make DNFs on things in the failure table even less likely to
actually affect routing.
Index: FailureTable.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/FailureTable.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -w -r1.31 -r1.32
--- FailureTable.java 3 Nov 2003 22:25:41 -0000 1.31
+++ FailureTable.java 3 Nov 2003 22:59:16 -0000 1.32
@@ -371,7 +371,7 @@
}
public boolean shouldIgnoreDNF(int hopsToLive) {
- return (hopsToLive <= highestHtl && failures >1);
+ return (hopsToLive <= highestHtl && (failures + blocks) >1);
}
public int compareTo(Object o) {
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs