version 1.60, 2007/09/11 19:43:00
|
version 1.62, 2007/09/18 17:47:51
|
|
|
} | } |
res1 = res1->ai_next; | res1 = res1->ai_next; |
} | } |
|
if (res1root) |
|
{ |
freeaddrinfo(res1root); | freeaddrinfo(res1root); |
|
} |
|
if (res2root) |
|
{ |
freeaddrinfo(res2root); | freeaddrinfo(res2root); |
|
} |
if (isLocal) | if (isLocal) |
{ | { |
return true; | return true; |
|
|
} | } |
res1 = res1->ai_next; | res1 = res1->ai_next; |
} | } |
|
if (res1root) |
|
{ |
freeaddrinfo(res1root); | freeaddrinfo(res1root); |
|
} |
|
if (res2root) |
|
{ |
freeaddrinfo(res2root); | freeaddrinfo(res2root); |
|
} |
return isLocal; | return isLocal; |
#else | #else |
| |
|
|
return hostEntry; | return hostEntry; |
} | } |
| |
|
#if defined(PEGASUS_OS_ZOS) || \ |
|
defined(PEGASUS_OS_VMS) || \ |
|
defined(PEGASUS_ENABLE_IPV6) |
|
|
int System::getAddrInfo( | int System::getAddrInfo( |
const char *hostname, | const char *hostname, |
const char *servname, | const char *servname, |
|
|
return rc; | return rc; |
} | } |
| |
|
#endif |
| |
// System ID constants for Logger::put and Logger::trace | // System ID constants for Logger::put and Logger::trace |
const String System::CIMLISTENER = "cimlistener"; // Listener systme ID | const String System::CIMLISTENER = "cimlistener"; // Listener systme ID |