diff options
author | Roger Dingledine <arma@torproject.org> | 2007-05-07 08:26:50 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-05-07 08:26:50 +0000 |
commit | f8a8b27dd2b76ddae26fcf51304b626f6aada9ca (patch) | |
tree | d5a5146ccc153a04957fa70baba62eba9e89ed95 /src/or/routerlist.c | |
parent | 5ea3f37db7f39ae2204d972f651ddb966c5164ca (diff) | |
download | tor-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.c | 4 |
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); |