From: Roger Dingledine Date: Wed, 21 Jul 2010 13:30:26 +0000 (-0400) Subject: mike needs DEFAULT_ROUTE_LEN in other files X-Git-Tag: tor-0.2.2.15-alpha~68 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1d6656fcb34f4939f806ae4fbe10e7c5bcd75b25;p=thirdparty%2Ftor.git mike needs DEFAULT_ROUTE_LEN in other files --- diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index ef6751858a..792260f9aa 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -2323,9 +2323,6 @@ onionskin_answer(or_circuit_t *circ, uint8_t cell_type, const char *payload, return 0; } -/** How many hops does a general-purpose circuit have by default? */ -#define DEFAULT_ROUTE_LEN 3 - /** Choose a length for a circuit of purpose purpose. * Default length is 3 + the number of endpoints that would give something * away. If the routerlist routers doesn't have enough routers diff --git a/src/or/or.h b/src/or/or.h index 3418f53e1d..2321f2f3c2 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2958,6 +2958,9 @@ int buf_find_string_offset(const buf_t *buf, const char *s, size_t n); /********************************* circuitbuild.c **********************/ +/** How many hops does a general-purpose circuit have by default? */ +#define DEFAULT_ROUTE_LEN 3 + char *circuit_list_path(origin_circuit_t *circ, int verbose); char *circuit_list_path_for_controller(origin_circuit_t *circ); void circuit_log_path(int severity, unsigned int domain,