aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/dos.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-27 09:35:47 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-27 09:36:52 -0400
commitf403af22076b0092807822ddc9890acdbd62f578 (patch)
treee8b21036bd9148d765609d9f998baf4350f373c6 /src/core/or/dos.c
parent79208ee852b84c94b32db1b13a2ba802cae360f7 (diff)
downloadtor-f403af22076b0092807822ddc9890acdbd62f578.tar.gz
tor-f403af22076b0092807822ddc9890acdbd62f578.zip
Split geoip from geoip-related stats.
This commit just moves the code to two separate files. The geoip code still has a few needless dependencies on core/* and features/*.
Diffstat (limited to 'src/core/or/dos.c')
-rw-r--r--src/core/or/dos.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/or/dos.c b/src/core/or/dos.c
index c59e2f6361..4303b8fd59 100644
--- a/src/core/or/dos.c
+++ b/src/core/or/dos.c
@@ -9,17 +9,17 @@
#define DOS_PRIVATE
#include "core/or/or.h"
-#include "core/or/channel.h"
#include "app/config/config.h"
#include "core/mainloop/connection.h"
-#include "core/or/connection_or.h"
-#include "lib/crypt_ops/crypto_rand.h"
-#include "feature/stats/geoip.h"
#include "core/mainloop/mainloop.h"
+#include "core/or/channel.h"
+#include "core/or/connection_or.h"
+#include "core/or/relay.h"
#include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/nodelist.h"
-#include "core/or/relay.h"
#include "feature/relay/routermode.h"
+#include "feature/stats/geoip_stats.h"
+#include "lib/crypt_ops/crypto_rand.h"
#include "core/or/dos.h"