fixed repeater register port bug

This commit is contained in:
Jeff Hill
2000-08-26 00:56:06 +00:00
parent cba713ec10
commit 032a5bf234
2 changed files with 3 additions and 2 deletions

View File

@@ -183,8 +183,6 @@ cac::~cac ()
}
this->iiuListMutex.unlock ();
this->defaultMutex.lock ();
//
// shutdown udp and wait for threads to exit
//

View File

@@ -170,6 +170,9 @@ void udpiiu::repeaterRegistrationMessage ( unsigned attemptNumber )
saddr.ia.sin_addr.s_addr = htonl ( INADDR_LOOPBACK );
saddr.ia.sin_port = htons ( this->repeaterPort );
}
else {
saddr.ia.sin_port = htons ( this->repeaterPort );
}
}
else {
saddr.ia.sin_family = AF_INET;