diff options
author | nils <nils@shkoo.com> | 2012-02-29 16:42:59 -0800 |
---|---|---|
committer | Linus Nordberg <linus@torproject.org> | 2012-10-17 10:54:17 +0200 |
commit | 167363403b54accb2442fe10a8c588532ab4c26f (patch) | |
tree | 701b88e55cacb8b2e75fcbf6b66d5d46a1d7a6ee /src/or/policies.c | |
parent | 4da2864308efd3de7a3dcc857003fa4aea169be6 (diff) | |
download | tor-167363403b54accb2442fe10a8c588532ab4c26f.tar.gz tor-167363403b54accb2442fe10a8c588532ab4c26f.zip |
Rename address family specific IPv4 geoip functions in preparation for IPv6 support
Diffstat (limited to 'src/or/policies.c')
-rw-r--r-- | src/or/policies.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/policies.c b/src/or/policies.c index 568bc88a05..4d217c9351 100644 --- a/src/or/policies.c +++ b/src/or/policies.c @@ -321,7 +321,7 @@ addr_is_in_cc_list(uint32_t addr, const smartlist_t *cc_list) const char *name; if (!cc_list) return 0; - country = geoip_get_country_by_ip(addr); + country = geoip_get_country_by_ipv4(addr); name = geoip_get_country_name(country); return smartlist_string_isin_case(cc_list, name); } |