aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dircache/dircache.c
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-10-30 15:30:11 +1000
committerteor <teor@torproject.org>2019-10-31 12:34:20 +1000
commitfc5da4ad048af372b7765aa0d10acba05bc6d2dc (patch)
tree9672286b62eccab898e29ec9cff063d69d70e341 /src/feature/dircache/dircache.c
parent6d03c0566568f4a56efb4aea2f32bcd86c090a22 (diff)
downloadtor-fc5da4ad048af372b7765aa0d10acba05bc6d2dc.tar.gz
tor-fc5da4ad048af372b7765aa0d10acba05bc6d2dc.zip
config: Move relay config actions into the relay module
This commit: * moves relay config actions into relay_config, * moves get_dirportfrontpage() into relay_config, * adds thin wrappers to make the moved code compile. No functional changes: the moved code is still enabled, even if the relay module is disabled. (Some of the checks are re-ordered, so the order of some warnings may change.) Part of 32213.
Diffstat (limited to 'src/feature/dircache/dircache.c')
-rw-r--r--src/feature/dircache/dircache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/dircache/dircache.c b/src/feature/dircache/dircache.c
index 795f1b8ed7..c1dec2cfb5 100644
--- a/src/feature/dircache/dircache.c
+++ b/src/feature/dircache/dircache.c
@@ -28,6 +28,7 @@
#include "feature/nodelist/authcert.h"
#include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/routerlist.h"
+#include "feature/relay/relay_config.h"
#include "feature/relay/routermode.h"
#include "feature/rend/rendcache.h"
#include "feature/stats/geoip_stats.h"