mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 18:01:15 +02:00
add IP address to DS information output
This commit is contained in:
parent
a4244da27e
commit
11986ca00f
1 changed files with 1 additions and 1 deletions
|
@ -428,7 +428,7 @@ void *checkInWithDomainServer(void *args) {
|
||||||
sockaddr_in tempAddress;
|
sockaddr_in tempAddress;
|
||||||
memcpy(&tempAddress.sin_addr, pHostInfo->h_addr_list[0], pHostInfo->h_length);
|
memcpy(&tempAddress.sin_addr, pHostInfo->h_addr_list[0], pHostInfo->h_length);
|
||||||
strcpy(DOMAIN_IP, inet_ntoa(tempAddress.sin_addr));
|
strcpy(DOMAIN_IP, inet_ntoa(tempAddress.sin_addr));
|
||||||
printLog("Domain server: %s \n", DOMAIN_HOSTNAME);
|
printLog("Domain server: %s - %s\n", DOMAIN_HOSTNAME, DOMAIN_IP);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
printLog("Failed lookup domainserver\n");
|
printLog("Failed lookup domainserver\n");
|
||||||
|
|
Loading…
Reference in a new issue