summaryrefslogtreecommitdiff
path: root/src/test/test_dir_common.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-12-18 14:10:03 -0500
committerNick Mathewson <nickm@torproject.org>2015-12-18 14:10:03 -0500
commitf0a4282e9af25e6c77e6b8a0e59c4aa34e75b9bc (patch)
treee60ec9df5264513a3064194aed94f2861bdbc5b2 /src/test/test_dir_common.c
parentf5f35e900987bab063f4f0aea99bf82e03267dc4 (diff)
downloadtor-f0a4282e9af25e6c77e6b8a0e59c4aa34e75b9bc.tar.gz
tor-f0a4282e9af25e6c77e6b8a0e59c4aa34e75b9bc.zip
fix routerlist/pick_directory_server_impl in light of 12538
Diffstat (limited to 'src/test/test_dir_common.c')
-rw-r--r--src/test/test_dir_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_dir_common.c b/src/test/test_dir_common.c
index 5c899a9d15..44ea93b437 100644
--- a/src/test/test_dir_common.c
+++ b/src/test/test_dir_common.c
@@ -143,6 +143,7 @@ dir_common_gen_routerstatus_for_v3ns(int idx, time_t now)
rs->addr = 0xC0000203;
rs->or_port = 500;
rs->dir_port = 1999;
+ rs->is_v2_dir = 1;
/* Running flag (and others) cleared */
break;
case 4: