Loading ChangeLog +1 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ Changes in version 0.2.0.16-alpha - 2008-01-?? on 0.2.0.15-alpha. - Do not try to download missing certificates until we have tried to check our fallback consensus. Fixes bug 583. - Make bridges round geoip info up, not down. o Minor features (controller): - Get NS events working again. (Patch from tup) Loading doc/TODO +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ N - add a bit in the dir_connection_t. or check whether the linked conn - Mention in control-spec.txt D have normal relays report geoip stats too. D different thresholds for bridges than for normal relays. N - bridge relays round geoip stats *up*, not down. o bridge relays round geoip stats *up*, not down. R - bridge communities . spec . deploy Loading src/or/geoip.c +2 −0 Original line number Diff line number Diff line Loading @@ -354,6 +354,8 @@ geoip_get_client_history(time_t now) c_hist_t *ent; /* Only report a country if it has a minimum number of IPs. */ if (c >= MIN_IPS_TO_NOTE_COUNTRY) { /* Round up to the next multiple of IP_GRANULARITY */ c += IP_GRANULARITY-1; c -= c % IP_GRANULARITY; countrycode = geoip_get_country_name(i); ent = tor_malloc(sizeof(c_hist_t)); Loading Loading
ChangeLog +1 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ Changes in version 0.2.0.16-alpha - 2008-01-?? on 0.2.0.15-alpha. - Do not try to download missing certificates until we have tried to check our fallback consensus. Fixes bug 583. - Make bridges round geoip info up, not down. o Minor features (controller): - Get NS events working again. (Patch from tup) Loading
doc/TODO +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ N - add a bit in the dir_connection_t. or check whether the linked conn - Mention in control-spec.txt D have normal relays report geoip stats too. D different thresholds for bridges than for normal relays. N - bridge relays round geoip stats *up*, not down. o bridge relays round geoip stats *up*, not down. R - bridge communities . spec . deploy Loading
src/or/geoip.c +2 −0 Original line number Diff line number Diff line Loading @@ -354,6 +354,8 @@ geoip_get_client_history(time_t now) c_hist_t *ent; /* Only report a country if it has a minimum number of IPs. */ if (c >= MIN_IPS_TO_NOTE_COUNTRY) { /* Round up to the next multiple of IP_GRANULARITY */ c += IP_GRANULARITY-1; c -= c % IP_GRANULARITY; countrycode = geoip_get_country_name(i); ent = tor_malloc(sizeof(c_hist_t)); Loading