diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-25 16:00:50 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-25 16:00:50 -0400 |
commit | fcd0f76134c2e1e420b1379906955d41e8a6df66 (patch) | |
tree | fbd6c587332809a461f50271bd4c8bdd12bdfeef /src/core/mainloop | |
parent | 70539e3d5e357521616a083a69712605b7b98c23 (diff) | |
download | tor-fcd0f76134c2e1e420b1379906955d41e8a6df66.tar.gz tor-fcd0f76134c2e1e420b1379906955d41e8a6df66.zip |
Extract all the "am I a server" functions from router.c
Diffstat (limited to 'src/core/mainloop')
-rw-r--r-- | src/core/mainloop/connection.c | 1 | ||||
-rw-r--r-- | src/core/mainloop/mainloop.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c index b858b94cd2..699e7f710a 100644 --- a/src/core/mainloop/connection.c +++ b/src/core/mainloop/connection.c @@ -81,6 +81,7 @@ #include "feature/dircommon/directory.h" #include "feature/dircache/dirserv.h" #include "feature/relay/dns.h" +#include "feature/relay/routermode.h" #include "feature/client/dnsserv.h" #include "core/or/dos.h" #include "feature/client/entrynodes.h" diff --git a/src/core/mainloop/mainloop.c b/src/core/mainloop/mainloop.c index 6d60b779b8..fb405817d1 100644 --- a/src/core/mainloop/mainloop.c +++ b/src/core/mainloop/mainloop.c @@ -92,6 +92,7 @@ #include "feature/rend/rendservice.h" #include "feature/stats/rephist.h" #include "feature/relay/router.h" +#include "feature/relay/routermode.h" #include "feature/relay/routerkeys.h" #include "feature/relay/selftest.h" #include "feature/nodelist/routerlist.h" |