aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dircache
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-27 08:21:17 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-27 08:21:17 -0400
commit241c1505ccb4a501c1b56af7b6e12e055db29e09 (patch)
tree9cb06190b6ee07cf2c7347540912b05051d41d0f /src/feature/dircache
parentde0b07c634c45297bad794567cb44ab91988b0ca (diff)
downloadtor-241c1505ccb4a501c1b56af7b6e12e055db29e09.tar.gz
tor-241c1505ccb4a501c1b56af7b6e12e055db29e09.zip
Move the predicted ports code out of rephist.c
It differs from the rest of the rephist code in that it's actually necessary for Tor to operate, so it should probably go somewhere else. I'm not sure where yet, so I'll leave it in the same directory, but give it its own file.
Diffstat (limited to 'src/feature/dircache')
-rw-r--r--src/feature/dircache/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dircache/dirserv.c b/src/feature/dircache/dirserv.c
index 4fa3cd7f93..57178cd506 100644
--- a/src/feature/dircache/dirserv.c
+++ b/src/feature/dircache/dirserv.c
@@ -16,7 +16,7 @@
#include "feature/nodelist/routerlist.h"
#include "feature/relay/router.h"
#include "feature/relay/routermode.h"
-#include "feature/stats/rephist.h"
+#include "feature/stats/predict_ports.h"
#include "feature/dircache/cached_dir_st.h"
#include "feature/dircommon/dir_connection_st.h"