mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Actually set *expires_out in addressmap_rewrite.
Fixes 14193; bugfix on 35d08e30d
, which went into 0.2.3.17-beta.
This commit is contained in:
parent
bba995e666
commit
2e1ed0815d
4
changes/bug14193
Normal file
4
changes/bug14193
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor bugfixes (client DNS):
|
||||
- Report the correct cached DNS expiration times. Previously, we
|
||||
would report everything as "never expires." Fixes bug 14193;
|
||||
bugfix on 0.2.3.17-beta.
|
@ -431,7 +431,7 @@ addressmap_rewrite(char *address, size_t maxlen,
|
||||
if (exit_source_out)
|
||||
*exit_source_out = exit_source;
|
||||
if (expires_out)
|
||||
*expires_out = TIME_MAX;
|
||||
*expires_out = expires;
|
||||
return (rewrites > 0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user