summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-05-07 08:26:50 +0000
committerRoger Dingledine <arma@torproject.org>2007-05-07 08:26:50 +0000
commitf8a8b27dd2b76ddae26fcf51304b626f6aada9ca (patch)
treed5a5146ccc153a04957fa70baba62eba9e89ed95 /src/or/routerlist.c
parent5ea3f37db7f39ae2204d972f651ddb966c5164ca (diff)
downloadtor-f8a8b27dd2b76ddae26fcf51304b626f6aada9ca.tar.gz
tor-f8a8b27dd2b76ddae26fcf51304b626f6aada9ca.zip
add a 'bridge' flag for dirserver config entries
svn:r10128
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 7d8fb8d9f5..af113dec9e 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3264,7 +3264,8 @@ void
add_trusted_dir_server(const char *nickname, const char *address,
uint16_t dir_port, uint16_t or_port,
const char *digest, int is_v1_authority,
- int is_v2_authority, int is_hidserv_authority)
+ int is_v2_authority, int is_bridge_authority,
+ int is_hidserv_authority)
{
trusted_dir_server_t *ent;
uint32_t a;
@@ -3300,6 +3301,7 @@ add_trusted_dir_server(const char *nickname, const char *address,
ent->is_running = 1;
ent->is_v1_authority = is_v1_authority;
ent->is_v2_authority = is_v2_authority;
+ ent->is_bridge_authority = is_bridge_authority;
ent->is_hidserv_authority = is_hidserv_authority;
memcpy(ent->digest, digest, DIGEST_LEN);