mirror of
				https://github.com/wangyu-/udp2raw.git
				synced 2025-11-04 04:05:35 +08:00 
			
		
		
		
	fix mac compile
This commit is contained in:
		@@ -3036,7 +3036,7 @@ int try_to_list_and_bind2(int &fd,address_t address)  //try to bind to a port,ma
 | 
			
		||||
	temp_bind_addr.sin_port = htons(port);
 | 
			
		||||
	temp_bind_addr.sin_addr.s_addr = local_ip_uint32;*/
 | 
			
		||||
 | 
			
		||||
	if (bind(fd, (struct sockaddr*)&address.inner, address.get_len()) !=0)
 | 
			
		||||
	if (::bind(fd, (struct sockaddr*)&address.inner, address.get_len()) !=0)
 | 
			
		||||
	{
 | 
			
		||||
		mylog(log_debug,"bind fail\n");
 | 
			
		||||
		return -1;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user