Return to System.cpp CVS log | Up to [Pegasus] / pegasus / src / Pegasus / Common |
version 1.68, 2008/03/07 19:17:34 | version 1.68.2.1, 2008/06/30 14:28:44 | ||
---|---|---|---|
|
| ||
return !memcmp(&ip6, binIPAddress, sizeof (ip6)); | return !memcmp(&ip6, binIPAddress, sizeof (ip6)); | ||
#endif | #endif | ||
case AF_INET: | case AF_INET: | ||
Uint32 n = ntohl( *(Uint32*)binIPAddress); | { | ||
Uint32 tmp; | |||
memcpy(&tmp, binIPAddress, sizeof(Uint32)); | |||
Uint32 n = ntohl(tmp); | |||
return !memcmp(&ip4, &n, sizeof (ip4)); | return !memcmp(&ip4, &n, sizeof (ip4)); | ||
} | } | ||
} | |||
return false; | return false; | ||
} | } |
|
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |