| 
					
				 | 
			
			
				@@ -387,7 +387,7 @@ static config_var_t _option_vars[] = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   V(TransPort,                   PORT,     "0"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   V(TunnelDirConns,              BOOL,     "1"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   V(UpdateBridgesFromAuthority,  BOOL,     "0"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  VAR("UseBridges",              AUTOBOOL, UseBridges_, "auto"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  V(UseBridges,                  BOOL,     "0"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   V(UseEntryGuards,              BOOL,     "1"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   V(UseMicrodescriptors,         AUTOBOOL, "0"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   V(User,                        STRING,   NULL), 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -3331,14 +3331,6 @@ options_validate(or_options_t *old_options, or_options_t *options, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            "of the Internet, so they must not set Reachable*Addresses " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            "or FascistFirewall."); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  if (options->UseBridges_ == -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    options->UseBridges = (options->Bridges && 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           !server_mode(options) && 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           !options->EntryNodes); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    options->UseBridges = options->UseBridges_; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   if (options->UseBridges && 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       server_mode(options)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     REJECT("Servers must be able to freely connect to the rest " 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -3684,8 +3676,10 @@ options_validate(or_options_t *old_options, or_options_t *options, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   if (validate_dir_authorities(options, old_options) < 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     REJECT("Directory authority line did not parse. See logs for details."); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if (options->UseBridges && !options->Bridges) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    REJECT("If you set UseBridges, you must specify at least one bridge."); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   if (options->UseBridges && !options->TunnelDirConns) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    REJECT("TunnelDirConns set to 0 only works with UseBridges set to 0"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    REJECT("If you set UseBridges, you must set TunnelDirConns."); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   if (options->Bridges) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     for (cl = options->Bridges; cl; cl = cl->next) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (parse_bridge_line(cl->value, 1)<0) 
			 |