Author: nextgens
Date: 2007-04-07 15:14:47 +0000 (Sat, 07 Apr 2007)
New Revision: 12547

Modified:
   trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java
Log:
it doesn't make any sense to forceWrite fproxy.allowedHostsFullAccess but not 
fproxy.bindTo and fproxy.allowedHosts

Modified: trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java     
2007-04-07 15:06:58 UTC (rev 12546)
+++ trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java     
2007-04-07 15:14:47 UTC (rev 12547)
@@ -242,7 +242,7 @@

                fproxyConfig.register("port", DEFAULT_FPROXY_PORT, 
configItemOrder++, true, true, "FProxy port number", "FProxy port number",
                                new FProxyPortCallback());
-               fproxyConfig.register("bindTo", "127.0.0.1", configItemOrder++, 
true, false, "IP address to bind to", "IP address to bind to",
+               fproxyConfig.register("bindTo", "127.0.0.1", configItemOrder++, 
true, true, "IP address to bind to", "IP address to bind to",
                                new FProxyBindtoCallback());
                fproxyConfig.register("css", "clean", configItemOrder++, false, 
false, "CSS Name", "Name of the CSS FProxy should use "+themes.toString(),
                                new FProxyCSSNameCallback());
@@ -261,7 +261,7 @@
                                        else    
SimpleToadletServer.isPanicButtonToBeShown = value;
                                }
                });
-               fproxyConfig.register("allowedHosts", 
"127.0.0.1,0:0:0:0:0:0:0:1", configItemOrder++, true, false, "Allowed hosts", 
+               fproxyConfig.register("allowedHosts", 
"127.0.0.1,0:0:0:0:0:0:0:1", configItemOrder++, true, true, "Allowed hosts", 
                                "Hostnames or IP addresses that are allowed to 
connect to FProxy. " +
                                "May be a comma-separated list of single IPs 
and CIDR masked IPs like 192.168.0.0/24. ",
                                new FProxyAllowedHostsCallback());


Reply via email to