diff options
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c index e2c7fa7deb..a7cb473fc0 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -550,8 +550,8 @@ int router_rebuild_descriptor(int force) { } get_platform_str(platform, sizeof(platform)); ri->platform = tor_strdup(platform); - ri->bandwidthrate = options->BandwidthRateBytes; - ri->bandwidthburst = options->BandwidthBurstBytes; + ri->bandwidthrate = options->BandwidthRate; + ri->bandwidthburst = options->BandwidthBurst; ri->bandwidthcapacity = router_get_bandwidth_capacity(); router_add_exit_policy_from_config(ri); if(desc_routerinfo) /* inherit values */ |