diff options
author | Desoxy <desoxy@fastmail.fm> | 2013-04-03 18:50:51 +0200 |
---|---|---|
committer | Desoxy <desoxy@fastmail.fm> | 2013-04-03 18:50:51 +0200 |
commit | 74f5e304e49b8ccde2b97232c49e5025dba21f59 (patch) | |
tree | cc3639e1857f21444dc019cbf0cfc56b6b93806f /src/or/addressmap.c | |
parent | 2c40138210fe934f687470fc4bd20513982bf424 (diff) | |
download | tor-74f5e304e49b8ccde2b97232c49e5025dba21f59.tar.gz tor-74f5e304e49b8ccde2b97232c49e5025dba21f59.zip |
Controller: Add CACHED keyword to ADDRMAP events (#8596 part 2/2)
Add keyword CACHED="YES"/"NO" to ADDRMAP control events to indicate whether the
DNS response will be cached or not.
Diffstat (limited to 'src/or/addressmap.c')
-rw-r--r-- | src/or/addressmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/addressmap.c b/src/or/addressmap.c index 826eb301db..79e4b7c5e2 100644 --- a/src/or/addressmap.c +++ b/src/or/addressmap.c @@ -560,7 +560,7 @@ addressmap_register(const char *address, char *new_address, time_t expires, log_info(LD_CONFIG, "Addressmap: (re)mapped '%s' to '%s'", safe_str_client(address), safe_str_client(ent->new_address)); - control_event_address_mapped(address, ent->new_address, expires, NULL); + control_event_address_mapped(address, ent->new_address, expires, NULL, 1); } /** An attempt to resolve <b>address</b> failed at some OR. |