diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-12-18 14:10:03 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-12-18 14:10:03 -0500 |
commit | f0a4282e9af25e6c77e6b8a0e59c4aa34e75b9bc (patch) | |
tree | e60ec9df5264513a3064194aed94f2861bdbc5b2 /src/test/test_dir_common.c | |
parent | f5f35e900987bab063f4f0aea99bf82e03267dc4 (diff) | |
download | tor-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.c | 1 |
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: |