[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] add ExitPolicy line to config file
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
config.c
Log Message:
add ExitPolicy line to config file
Index: config.c
===================================================================
RCS file: /home/or/cvsroot/src/or/config.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- config.c 7 Oct 2003 21:27:33 -0000 1.52
+++ config.c 7 Oct 2003 22:04:17 -0000 1.53
@@ -12,7 +12,7 @@
#define CONFIG_TYPE_DOUBLE 4
#define CONFIG_TYPE_BOOL 5
-#define CONFIG_LINE_MAXLEN 1024
+#define CONFIG_LINE_MAXLEN 4096
struct config_line {
char *key;
@@ -155,6 +155,7 @@
config_compare(list, "RouterFile", CONFIG_TYPE_STRING, &options->RouterFile) ||
config_compare(list, "Nickname", CONFIG_TYPE_STRING, &options->Nickname) ||
config_compare(list, "Address", CONFIG_TYPE_STRING, &options->Address) ||
+ config_compare(list, "ExitPolicy", CONFIG_TYPE_STRING, &options->ExitPolicy) ||
/* int options */
config_compare(list, "MaxConn", CONFIG_TYPE_INT, &options->MaxConn) ||