summaryrefslogtreecommitdiff
path: root/src/or/config.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2014-01-23 04:52:59 -0800
committerAndrea Shepard <andrea@torproject.org>2014-09-30 23:14:24 -0700
commit3bc7108d2cfb6795f1beb0f5dbb3ab66fe1601d3 (patch)
treeed2fb596810516e2857bd112cafa04fdd5aa2b0a /src/or/config.h
parent50d5fb87bd6e763895eb0a784e4dbb40a132b759 (diff)
downloadtor-3bc7108d2cfb6795f1beb0f5dbb3ab66fe1601d3.tar.gz
tor-3bc7108d2cfb6795f1beb0f5dbb3ab66fe1601d3.zip
Make is_local_addr() mockable
Diffstat (limited to 'src/or/config.h')
-rw-r--r--src/or/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.h b/src/or/config.h
index 8a1919c2ed..bf176a6860 100644
--- a/src/or/config.h
+++ b/src/or/config.h
@@ -32,7 +32,7 @@ uint32_t get_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);
-int is_local_addr(const tor_addr_t *addr);
+MOCK_DECL(int, is_local_addr, (const tor_addr_t *addr));
void options_init(or_options_t *options);
#define OPTIONS_DUMP_MINIMAL 1