mirror of
https://github.com/overte-org/overte.git
synced 2025-04-13 14:52:19 +02:00
remove static local domain IP address
This commit is contained in:
parent
b88c74c1a1
commit
5e4d4b4651
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ int main(int argc, char* const argv[]) {
|
|||
// switch our nodelist DOMAIN_IP to the ip receieved in the assignment
|
||||
if (deployedAssignment.getDomainSocket()->sa_family == AF_INET) {
|
||||
in_addr domainSocketAddr = ((sockaddr_in*) deployedAssignment.getDomainSocket())->sin_addr;
|
||||
nodeList->setDomainIP("10.0.0.20");
|
||||
nodeList->setDomainIP(inet_ntoa(domainSocketAddr));
|
||||
|
||||
qDebug() << "Changed domain IP to " << inet_ntoa(domainSocketAddr);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue