| 
														
															@@ -2320,11 +2320,6 @@ set_routerstatus_from_routerinfo(routerstatus_t *rs, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } else { 
														 | 
														
														 | 
														
															   } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     rs->is_possible_guard = 0; 
														 | 
														
														 | 
														
															     rs->is_possible_guard = 0; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  if (options->TestingTorNetwork && 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      routerset_contains_routerstatus(options->TestingDirAuthVoteGuard, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                      rs, 0)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    rs->is_possible_guard = 1; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															   rs->is_bad_directory = listbaddirs && node->is_bad_directory; 
														 | 
														
														 | 
														
															   rs->is_bad_directory = listbaddirs && node->is_bad_directory; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   rs->is_bad_exit = listbadexits && node->is_bad_exit; 
														 | 
														
														 | 
														
															   rs->is_bad_exit = listbadexits && node->is_bad_exit; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -2350,6 +2345,14 @@ set_routerstatus_from_routerinfo(routerstatus_t *rs, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     tor_addr_copy(&rs->ipv6_addr, &ri->ipv6_addr); 
														 | 
														
														 | 
														
															     tor_addr_copy(&rs->ipv6_addr, &ri->ipv6_addr); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     rs->ipv6_orport = ri->ipv6_orport; 
														 | 
														
														 | 
														
															     rs->ipv6_orport = ri->ipv6_orport; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  /* Iff we are in a testing network, use TestingDirAuthVoteGuard to 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     give out Guard flags. */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  if (options->TestingTorNetwork && 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      routerset_contains_routerstatus(options->TestingDirAuthVoteGuard, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                                      rs, 0)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    rs->is_possible_guard = 1; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 /** Routerstatus <b>rs</b> is part of a group of routers that are on 
														 | 
														
														 | 
														
															 /** Routerstatus <b>rs</b> is part of a group of routers that are on 
														 |