From b669b1d57c62c7466bcbc5bdead0508dd0a27472 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sun, 11 Jan 2004 07:41:01 +0000 Subject: oh, and make it compile still need to make a decision about per-connection rate limiting (take it out? update it?) svn:r984 --- src/or/connection_or.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/connection_or.c') 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); -- cgit v1.2.3