summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-08-03 20:42:17 +0000
committerNick Mathewson <nickm@torproject.org>2005-08-03 20:42:17 +0000
commit11ff0aba80d7ccc77e52040e99d20d38046c25d1 (patch)
tree9ca1fc07701b7ff81917b69af599302e31dd7136 /src/common/util.h
parentceb02cee2c021ae34d07d431a6e13a02827adf5d (diff)
downloadtor-11ff0aba80d7ccc77e52040e99d20d38046c25d1.tar.gz
tor-11ff0aba80d7ccc77e52040e99d20d38046c25d1.zip
Make clients regenerate their keys when their IP address changes.
svn:r4688
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index f6504abc7d..2197618c33 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -135,6 +135,7 @@ int parse_addr_and_port_range(const char *s, uint32_t *addr_out,
#define INET_NTOA_BUF_LEN 16
int tor_inet_ntoa(struct in_addr *in, char *buf, size_t buf_len);
int is_plausible_address(const char *name);
+int get_interface_address(uint32_t *addr);
/* Process helpers */
void start_daemon(void);