remove static local domain IP address

This commit is contained in:
Stephen Birarda 2013-09-05 16:29:56 -07:00
parent b88c74c1a1
commit 5e4d4b4651

View file

@ -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);
}