diff options
author | teor <teor2345@gmail.com> | 2016-08-17 17:47:24 +1000 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2016-08-24 11:02:19 +1000 |
commit | 19816f2f782568722964d35ee132af441a809db3 (patch) | |
tree | 3b4a7c9b3728b3ca394116af869594be61435556 /src/or/rendservice.c | |
parent | 10aa913accaf81d72dba6f1bcd9dcc128d9d8703 (diff) | |
download | tor-19816f2f782568722964d35ee132af441a809db3.tar.gz tor-19816f2f782568722964d35ee132af441a809db3.zip |
Add a stub for rend_service_allow_direct_connection
It always returns 0. It should be replaced with the Single
Onion version from #17178 when both are merged.
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index c50de83f7e..2de046326b 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -3897,3 +3897,11 @@ rend_service_set_connection_addr_port(edge_connection_t *conn, return -2; } +/* Stub that should be replaced with the #17178 version of the function + * when merging. */ +int +rend_service_allow_direct_connection(const or_options_t *options) +{ + (void)options; + return 0; +} |