summaryrefslogtreecommitdiff
path: root/src/feature/client
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-02-18 12:00:24 -0500
committerNick Mathewson <nickm@torproject.org>2020-02-18 12:00:24 -0500
commitdcbc45e6b2f80e8bd3664972d6317331d6b3bc85 (patch)
treee2276809612617eaaf92fad248ec0b62540e07d9 /src/feature/client
parent17724a7cdeb9b98539831f1164a82784f1fb050f (diff)
downloadtor-dcbc45e6b2f80e8bd3664972d6317331d6b3bc85.tar.gz
tor-dcbc45e6b2f80e8bd3664972d6317331d6b3bc85.zip
Replace identifiers related to clipping DNS ttls.
This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ MIN_DNS_TTL_AT_EXIT MIN_DNS_TTL \ MAX_DNS_TTL_AT_EXIT MAX_DNS_TTL \ dns_clip_ttl clip_dns_ttl
Diffstat (limited to 'src/feature/client')
-rw-r--r--src/feature/client/addressmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/client/addressmap.c b/src/feature/client/addressmap.c
index 1a6958d38c..af76253e41 100644
--- a/src/feature/client/addressmap.c
+++ b/src/feature/client/addressmap.c
@@ -689,7 +689,7 @@ client_dns_set_addressmap_impl(entry_connection_t *for_conn,
if (ttl<0)
ttl = DEFAULT_DNS_TTL;
else
- ttl = dns_clip_ttl(ttl);
+ ttl = clip_dns_ttl(ttl);
if (exitname) {
/* XXXX fails to ever get attempts to get an exit address of