diff options
author | Linus Nordberg <linus@torproject.org> | 2012-10-20 18:48:58 +0200 |
---|---|---|
committer | Linus Nordberg <linus@torproject.org> | 2012-10-20 20:56:59 +0200 |
commit | 817ff962f830188ec4c1a907ebc389a856ea3288 (patch) | |
tree | 50954b5f4315db3b66d3ccb991fd818f0ee78935 /src/or/routerset.c | |
parent | e2313d8622aebc2704ce016dfef2be975fa535c3 (diff) | |
download | tor-817ff962f830188ec4c1a907ebc389a856ea3288.tar.gz tor-817ff962f830188ec4c1a907ebc389a856ea3288.zip |
Separate IPv4 and IPv6 geoip file loading.
Also add IPv6 geoip file digest to extra info.
Also also, add support for IPv6 addresses in control command
"ip-to-country".
Diffstat (limited to 'src/or/routerset.c')
-rw-r--r-- | src/or/routerset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerset.c b/src/or/routerset.c index f3cd592aea..f9e3c9a495 100644 --- a/src/or/routerset.c +++ b/src/or/routerset.c @@ -82,7 +82,7 @@ routerset_refresh_countries(routerset_t *target) int cc; bitarray_free(target->countries); - if (!geoip_is_loaded()) { + if (!geoip_is_loaded(AF_INET)) { target->countries = NULL; target->n_countries = 0; return; |