diff --git a/trunk/src/or/router.c b/trunk/src/or/router.c index 568f7624a5..7530c34e77 100644 --- a/trunk/src/or/router.c +++ b/trunk/src/or/router.c @@ -144,6 +144,8 @@ void router_set_bandwidth_capacity(int bw) { } /** Return the value we tucked away above, or zero by default. */ int router_get_bandwidth_capacity(void) { + if (we_are_hibernating()) + return 0; return bw_capacity; }