xfer
This commit is contained in:
		@@ -244,7 +244,9 @@ impl DiscoveryContext {
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        if external_address_infos.len() < 2 {
 | 
			
		||||
            log_net!(debug "not enough peers responded with an external address");
 | 
			
		||||
            log_net!(debug "not enough peers responded with an external address for type {:?}:{:?}",
 | 
			
		||||
                protocol_type,
 | 
			
		||||
                address_type);
 | 
			
		||||
            return false;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -22,6 +22,7 @@ impl Network {
 | 
			
		||||
 | 
			
		||||
                    editor.clear_dial_info_details(None, None);
 | 
			
		||||
                    editor.set_network_class(Some(NetworkClass::OutboundOnly));
 | 
			
		||||
                    editor.clear_relay_node();
 | 
			
		||||
                    editor.commit(true).await;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
@@ -1285,7 +1285,11 @@ impl RouteSpecStore {
 | 
			
		||||
 | 
			
		||||
        // Ensure our network class is valid before attempting to assemble any routes
 | 
			
		||||
        if !rti.has_valid_network_class(RoutingDomain::PublicInternet) {
 | 
			
		||||
            bail!("can't make private routes until our node info is valid");
 | 
			
		||||
            let peer_info = rti.get_own_peer_info(RoutingDomain::PublicInternet);
 | 
			
		||||
            bail!(
 | 
			
		||||
                "can't make private routes until our node info is valid: {:?}",
 | 
			
		||||
                peer_info
 | 
			
		||||
            );
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // Make innermost route hop to our own node
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user