aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_dir.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-30 18:15:00 -0500
committerNick Mathewson <nickm@torproject.org>2018-10-01 00:04:58 -0500
commitfec3b3bb9389d9d9f927c370d560fc50ec65c93b (patch)
tree9b8ad08341e8663156592087ab276420edb5e26a /src/test/test_dir.c
parent6785aa4010c141ab8792e41745acc2267ce46ca4 (diff)
downloadtor-fec3b3bb9389d9d9f927c370d560fc50ec65c93b.tar.gz
tor-fec3b3bb9389d9d9f927c370d560fc50ec65c93b.zip
Extract logic for dumping unparseable junk from routerparse.c
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r--src/test/test_dir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 23c8c4a1d3..9c189ba6be 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -21,6 +21,7 @@
#define ROUTERLIST_PRIVATE
#define ROUTERPARSE_PRIVATE
#define ROUTER_PRIVATE
+#define UNPARSEABLE_PRIVATE
#define VOTEFLAGS_PRIVATE
#include "core/or/or.h"
@@ -52,6 +53,7 @@
#include "feature/nodelist/node_select.h"
#include "feature/nodelist/routerlist.h"
#include "feature/dirparse/routerparse.h"
+#include "feature/dirparse/unparseable.h"
#include "feature/nodelist/routerset.h"
#include "feature/nodelist/torcert.h"
#include "feature/relay/router.h"