aboutsummaryrefslogtreecommitdiff
path: root/src/app/config
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-25 16:00:50 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-25 16:00:50 -0400
commitfcd0f76134c2e1e420b1379906955d41e8a6df66 (patch)
treefbd6c587332809a461f50271bd4c8bdd12bdfeef /src/app/config
parent70539e3d5e357521616a083a69712605b7b98c23 (diff)
downloadtor-fcd0f76134c2e1e420b1379906955d41e8a6df66.tar.gz
tor-fcd0f76134c2e1e420b1379906955d41e8a6df66.zip
Extract all the "am I a server" functions from router.c
Diffstat (limited to 'src/app/config')
-rw-r--r--src/app/config/config.c1
-rw-r--r--src/app/config/statefile.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c
index 68139a997f..65899b6400 100644
--- a/src/app/config/config.c
+++ b/src/app/config/config.c
@@ -106,6 +106,7 @@
#include "feature/hs/hs_config.h"
#include "feature/stats/rephist.h"
#include "feature/relay/router.h"
+#include "feature/relay/routermode.h"
#include "lib/sandbox/sandbox.h"
#include "feature/nodelist/dirlist.h"
#include "feature/nodelist/routerset.h"
diff --git a/src/app/config/statefile.c b/src/app/config/statefile.c
index 208189db44..510b8964b2 100644
--- a/src/app/config/statefile.c
+++ b/src/app/config/statefile.c
@@ -40,6 +40,7 @@
#include "feature/hibernate/hibernate.h"
#include "feature/stats/rephist.h"
#include "feature/relay/router.h"
+#include "feature/relay/routermode.h"
#include "lib/sandbox/sandbox.h"
#include "app/config/statefile.h"
#include "lib/encoding/confline.h"