Changeset - r11576:d4ddcc5bdcdd
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-04-04 08:48:12
rubidium@openttd.org
(svn r15951) -Fix (r15946) [FS#2803]: ofcourse a couple of OSes/compilers do not provide a nice 'interface', so we have to do it the ugly way.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/network/core/address.cpp
Show inline comments
 
@@ -125,8 +125,8 @@ bool NetworkAddress::IsInNetmask(char *n
 
			break;
 

	
 
		case AF_INET6:
 
			ip = (uint32*)((struct sockaddr_in6*)&this->address)->sin6_addr.s6_addr32;
 
			mask = (uint32*)((struct sockaddr_in6*)&mask_address.address)->sin6_addr.s6_addr32;
 
			ip = (uint32*)&((struct sockaddr_in6*)&this->address)->sin6_addr;
 
			mask = (uint32*)&((struct sockaddr_in6*)&mask_address.address)->sin6_addr;
 
			break;
 

	
 
		default:
0 comments (0 inline, 0 general)