aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_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/test/test_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/test/test_dos.c')
-rw-r--r--src/test/test_dos.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test_dos.c b/src/test/test_dos.c
index b411e7b38a..40a4c6ba29 100644
--- a/src/test/test_dos.c
+++ b/src/test/test_dos.c
@@ -9,7 +9,7 @@
#include "core/or/dos.h"
#include "core/or/circuitlist.h"
#include "lib/crypt_ops/crypto_rand.h"
-#include "feature/stats/geoip.h"
+#include "feature/stats/geoip_stats.h"
#include "core/or/channel.h"
#include "feature/nodelist/microdesc.h"
#include "feature/nodelist/networkstatus.h"
@@ -500,4 +500,3 @@ struct testcase_t dos_tests[] = {
NULL, NULL },
END_OF_TESTCASES
};
-