diff options
author | Roger Dingledine <arma@torproject.org> | 2004-01-11 07:41:01 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-01-11 07:41:01 +0000 |
commit | b669b1d57c62c7466bcbc5bdead0508dd0a27472 (patch) | |
tree | 1b490b17ab780430f7a6587f303a542e8090faf1 /src/or/connection_or.c | |
parent | 1a137c266ad979aae1c5a934cce1404b03b6447e (diff) | |
download | tor-b669b1d57c62c7466bcbc5bdead0508dd0a27472.tar tor-b669b1d57c62c7466bcbc5bdead0508dd0a27472.tar.gz |
oh, and make it compile
still need to make a decision about per-connection rate limiting
(take it out? update it?)
svn:r984
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 712403680..07283d8e5 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -76,7 +76,7 @@ int connection_or_finished_flushing(connection_t *conn) { void connection_or_init_conn_from_router(connection_t *conn, routerinfo_t *router) { conn->addr = router->addr; conn->port = router->or_port; - conn->receiver_bucket = conn->bandwidth = router->bandwidth; + conn->receiver_bucket = conn->bandwidth = router->bandwidthburst; conn->onion_pkey = crypto_pk_dup_key(router->onion_pkey); conn->link_pkey = crypto_pk_dup_key(router->link_pkey); conn->identity_pkey = crypto_pk_dup_key(router->identity_pkey); |