summaryrefslogtreecommitdiff
path: root/src/test/test_dir_common.c
diff options
context:
space:
mode:
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: