summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-09-29 14:53:53 +0000
committerNick Mathewson <nickm@torproject.org>2008-09-29 14:53:53 +0000
commitae3ce7b3873e61eb4d6c273820a0cabf3e471081 (patch)
treef6ed2af567780f8eee4c3c1a23a20f4256f09a1b /src/or/or.h
parent57db1c1a7dd4a1fd85fa462951737880189e5965 (diff)
downloadtor-ae3ce7b3873e61eb4d6c273820a0cabf3e471081.tar.gz
tor-ae3ce7b3873e61eb4d6c273820a0cabf3e471081.zip
Patch from mwenge: update TrackHostExits mapping expiry times when the mappings are used, so that they expire a while after their last use, not a while after their creation.
svn:r17004
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 5820a56c4e..7b87e3e3f7 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2997,7 +2997,7 @@ void addressmap_clear_configured(void);
void addressmap_clear_transient(void);
void addressmap_free_all(void);
int addressmap_rewrite(char *address, size_t maxlen, time_t *expires_out);
-int addressmap_have_mapping(const char *address);
+int addressmap_have_mapping(const char *address, int update_timeout);
typedef enum {
ADDRMAPSRC_CONTROLLER, ADDRMAPSRC_TORRC, ADDRMAPSRC_TRACKEXIT,
ADDRMAPSRC_DNS,