[freenet-cvs] r14577 - trunk/freenet/src/freenet/node
toad at freenetproject.org
toad at freenetproject.org
Fri Aug 10 12:52:13 UTC 2007
Author: toad
Date: 2007-08-10 12:52:13 +0000 (Fri, 10 Aug 2007)
New Revision: 14577
Modified:
trunk/freenet/src/freenet/node/NodeCryptoConfig.java
Log:
Fix some we-don't-read-the-value-from-the-config-file bugs
Modified: trunk/freenet/src/freenet/node/NodeCryptoConfig.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeCryptoConfig.java 2007-08-10 12:49:15 UTC (rev 14576)
+++ trunk/freenet/src/freenet/node/NodeCryptoConfig.java 2007-08-10 12:52:13 UTC (rev 14577)
@@ -113,8 +113,8 @@
}
});
+ dropProbability = config.getInt("testingDropPacketsEvery");
-
config.register("oneConnectionPerIP", onePerIP, sortOrder++, true, false, "Node.oneConnectionPerIP", "Node.oneConnectionPerIPLong",
new BooleanCallback() {
@@ -131,6 +131,7 @@
}
});
+ oneConnectionPerAddress = config.getBoolean("oneConnectionPerIP");
config.register("alwaysAllowLocalAddresses", false, sortOrder++, true, false, "Node.alwaysAllowLocalAddresses", "Node.alwaysAllowLocalAddressesLong",
new BooleanCallback() {
@@ -147,6 +148,7 @@
}
}
});
+ alwaysAllowLocalAddresses = config.getBoolean("alwaysAllowLocalAddresses");
}
/** The number of config options i.e. the amount to increment sortOrder by */
More information about the cvs
mailing list