summaryrefslogtreecommitdiff
path: root/src/or/config.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-09-29 13:46:30 -0400
committerNick Mathewson <nickm@torproject.org>2014-09-29 13:47:58 -0400
commitb448ec195dd8687d2d5f363e12fec046eb2d1677 (patch)
treeb286291ff27b917acf8a12faf8160efca56dacd2 /src/or/config.h
parente440993f95fad6d5a049be83517c8586fff7ab21 (diff)
downloadtor-b448ec195dd8687d2d5f363e12fec046eb2d1677.tar.gz
tor-b448ec195dd8687d2d5f363e12fec046eb2d1677.zip
Clear the cached address from resolve_my_address() when our IP changes
Closes 11582; patch from "ra".
Diffstat (limited to 'src/or/config.h')
-rw-r--r--src/or/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.h b/src/or/config.h
index 8a1919c2ed..fd95698144 100644
--- a/src/or/config.h
+++ b/src/or/config.h
@@ -29,6 +29,7 @@ setopt_err_t options_trial_assign(config_line_t *list, int use_defaults,
int clear_first, char **msg);
uint32_t get_last_resolved_addr(void);
+void reset_last_resolved_addr(void);
int resolve_my_address(int warn_severity, const or_options_t *options,
uint32_t *addr_out,
const char **method_out, char **hostname_out);