Author: toad
Date: 2006-09-22 15:49:13 +0000 (Fri, 22 Sep 2006)
New Revision: 10500
Modified:
trunk/freenet/src/freenet/node/fcp/FCPServer.java
Log:
fcp.allowedHosts/fcp.bindTo: not expert, always write to disk. Why? Fproxy is;
newbies will see fproxy, change that, not see this and assume frost uses fproxy.
Modified: trunk/freenet/src/freenet/node/fcp/FCPServer.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/FCPServer.java 2006-09-22 14:06:41 UTC
(rev 10499)
+++ trunk/freenet/src/freenet/node/fcp/FCPServer.java 2006-09-22 15:49:13 UTC
(rev 10500)
@@ -297,8 +297,8 @@
fcpConfig.register("enabled", true, 2, true, false, "Is FCP
server enabled ?", "Is FCP server enabled ?", new FCPEnabledCallback(core));
fcpConfig.register("port", FCPServer.DEFAULT_FCP_PORT /*
anagram of 1984, and 1000 up from old number */,
2, true, true, "FCP port number", "FCP port
number", new FCPPortNumberCallback(core));
- fcpConfig.register("bindTo", "127.0.0.1", 2, true, false, "IP
address to bind to", "IP address to bind the FCP server to", new
FCPBindtoCallback(core));
- fcpConfig.register("allowedHosts", "127.0.0.1,0:0:0:0:0:0:0:1",
2, true, false, "Allowed hosts", "Hostnames or IP addresses that are allowed to
connect to the FCP server. May be a comma-separated list of hostnames, single
IPs and even CIDR masked IPs like 192.168.0.0/24", new
FCPAllowedHostsCallback(core));
+ fcpConfig.register("bindTo", "127.0.0.1", 2, false, true, "IP
address to bind to", "IP address to bind the FCP server to", new
FCPBindtoCallback(core));
+ fcpConfig.register("allowedHosts", "127.0.0.1,0:0:0:0:0:0:0:1",
2, false, true, "Allowed hosts", "Hostnames or IP addresses that are allowed to
connect to the FCP server. May be a comma-separated list of hostnames, single
IPs and even CIDR masked IPs like 192.168.0.0/24", new
FCPAllowedHostsCallback(core));
PersistentDownloadsEnabledCallback cb1;
PersistentDownloadsFileCallback cb2;
PersistentDownloadsIntervalCallback cb3;