mirror of
				https://github.com/rofl0r/proxychains-ng.git
				synced 2025-11-04 00:56:03 +00:00 
			
		
		
		
	proxy_gethostbyname_old(): likewise.
This commit is contained in:
		@@ -764,6 +764,11 @@ struct hostent* proxy_gethostbyname_old(const char *name)
 | 
				
			|||||||
	*hostent_space.h_addr_list = (char*)&resolved_addr;
 | 
						*hostent_space.h_addr_list = (char*)&resolved_addr;
 | 
				
			||||||
	resolved_addr = 0;
 | 
						resolved_addr = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if(pc_isnumericipv4(name)) {
 | 
				
			||||||
 | 
							strcpy(buff, name);
 | 
				
			||||||
 | 
							goto got_buff;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	gethostname(buff,sizeof(buff));
 | 
						gethostname(buff,sizeof(buff));
 | 
				
			||||||
	if(!strcmp(buff,name))
 | 
						if(!strcmp(buff,name))
 | 
				
			||||||
		goto got_buff;
 | 
							goto got_buff;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user