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.
This commit is contained in:
Nick Mathewson
2018-09-27 08:21:17 -04:00
parent de0b07c634
commit 241c1505cc
17 changed files with 366 additions and 322 deletions
+1
View File
@@ -93,6 +93,7 @@
#include "feature/rend/rendcache.h"
#include "feature/rend/rendservice.h"
#include "feature/stats/geoip.h"
#include "feature/stats/predict_ports.h"
#include "feature/stats/rephist.h"
#include "lib/container/buffers.h"
#include "lib/crypt_ops/crypto_rand.h"