diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-09-28 23:37:45 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-28 23:37:45 -0400 |
commit | f3e8bc391a681ee5e0db1c0cd3796e901ea49846 (patch) | |
tree | 72feb8f5f034f2e93682c6ad14a05551afa5ed84 /src/or/routerparse.c | |
parent | 8d1fe502842a01063027a8dc2a4cb1326be8805a (diff) | |
download | tor-f3e8bc391a681ee5e0db1c0cd3796e901ea49846.tar.gz tor-f3e8bc391a681ee5e0db1c0cd3796e901ea49846.zip |
Remove the has_old_dnsworkers flag.
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 05584dc6ed..f7e645e8fd 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -69,7 +69,6 @@ typedef enum { K_V, K_W, K_M, - K_EVENTDNS, K_EXTRA_INFO, K_EXTRA_INFO_DIGEST, K_CACHES_EXTRA_INFO, @@ -286,7 +285,6 @@ static token_rule_t routerdesc_token_table[] = { T01("family", K_FAMILY, ARGS, NO_OBJ ), T01("caches-extra-info", K_CACHES_EXTRA_INFO, NO_ARGS, NO_OBJ ), - T01("eventdns", K_EVENTDNS, ARGS, NO_OBJ ), T0N("opt", K_OPT, CONCAT_ARGS, OBJ_OK ), T1( "bandwidth", K_BANDWIDTH, GE(3), NO_OBJ ), @@ -1487,13 +1485,6 @@ router_parse_entry_from_string(const char *s, const char *end, router->contact_info = tor_strdup(tok->args[0]); } - if ((tok = find_opt_by_keyword(tokens, K_EVENTDNS))) { - router->has_old_dnsworkers = tok->n_args && !strcmp(tok->args[0], "0"); - } else if (router->platform) { - if (! tor_version_as_new_as(router->platform, "0.1.2.2-alpha")) - router->has_old_dnsworkers = 1; - } - exit_policy_tokens = find_all_exitpolicy(tokens); if (!smartlist_len(exit_policy_tokens)) { log_warn(LD_DIR, "No exit policy tokens in descriptor."); |