aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-08-19 15:20:11 +0000
committerNick Mathewson <nickm@torproject.org>2007-08-19 15:20:11 +0000
commitc7ed49e7f8ab0802f9e8e292d5cd29b2d351770c (patch)
tree6eb513db349e5f11bb8a9f3ee9b29c82dcb23d54 /src/or/or.h
parent84dddc5df48c5b297ffc4d69214f27d3d26161df (diff)
downloadtor-c7ed49e7f8ab0802f9e8e292d5cd29b2d351770c.tar
tor-c7ed49e7f8ab0802f9e8e292d5cd29b2d351770c.tar.gz
r14663@catbus: nickm | 2007-08-18 17:50:51 -0400
Fix an XXX020 in or.h: BRIDGE != CONTROLLER. svn:r11195
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 07dd9da0a..f348e9232 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1186,8 +1186,8 @@ typedef struct {
/** Tor should avoid using this router for circuit-building. */
#define ROUTER_PURPOSE_CONTROLLER 1
/** Tor should use this router only for bridge positions in circuits. */
-#define ROUTER_PURPOSE_BRIDGE 1
- /*XXXX020 Should both of the above be 1? -NM */
+#define ROUTER_PURPOSE_BRIDGE 2
+
uint8_t purpose; /** What positions in a circuit is this router good for? */
/* The below items are used only by authdirservers for