mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	check if host if unspecified
This commit is contained in:
		
							parent
							
								
									0f166973ca
								
							
						
					
					
						commit
						67b32005f6
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -153,8 +153,8 @@ namespace data
 | 
			
		|||
				bool IsIntroducer () const { return caps & eSSUIntroducer; };
 | 
			
		||||
				bool IsPeerTesting () const { return caps & eSSUTesting; };
 | 
			
		||||
 | 
			
		||||
				bool IsV4 () const { return (caps & AddressCaps::eV4) || host.is_v4 (); };
 | 
			
		||||
				bool IsV6 () const { return (caps & AddressCaps::eV6) || host.is_v6 (); };
 | 
			
		||||
				bool IsV4 () const { return (caps & AddressCaps::eV4) || (host.is_v4 () && !host.is_unspecified ()); };
 | 
			
		||||
				bool IsV6 () const { return (caps & AddressCaps::eV6) || (host.is_v6 () && !host.is_unspecified ()); };
 | 
			
		||||
			};
 | 
			
		||||
			typedef std::list<std::shared_ptr<Address> > Addresses;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue