diff options
author | Roger Dingledine <arma@torproject.org> | 2003-08-23 10:09:25 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-08-23 10:09:25 +0000 |
commit | 36f055e7ee7975fa6982cdfef8409b7a303166c5 (patch) | |
tree | 25c71ce947f9079be7fa2c55e5d0c9eef7a7cb34 /src/or/config.c | |
parent | 33b0569fba5a098e3aa25c50397ca59a0d63bb4a (diff) | |
download | tor-36f055e7ee7975fa6982cdfef8409b7a303166c5.tar tor-36f055e7ee7975fa6982cdfef8409b7a303166c5.tar.gz |
start honoring the recommended_versions string
your client exits if you're running a version not in the
directory's list of acceptable versions (unless you have a
config variable set to override).
svn:r408
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 59113ef86..857627577 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -185,6 +185,7 @@ void config_assign(or_options_t *options, struct config_line *list) { config_compare(list, "Daemon", CONFIG_TYPE_BOOL, &options->Daemon) || config_compare(list, "TrafficShaping", CONFIG_TYPE_BOOL, &options->TrafficShaping) || config_compare(list, "LinkPadding", CONFIG_TYPE_BOOL, &options->LinkPadding) || + config_compare(list, "IgnoreVersion", CONFIG_TYPE_BOOL, &options->IgnoreVersion) || /* float options */ config_compare(list, "CoinWeight", CONFIG_TYPE_DOUBLE, &options->CoinWeight) @@ -260,6 +261,7 @@ int getconfig(int argc, char **argv, or_options_t *options) { config_free_lines(cl); /* print config */ +/* XXX this section is rotting. Should maybe remove it sometime. */ if (options->loglevel == LOG_DEBUG) { printf("LogLevel=%s\n", options->LogLevel); |