fixed repeater register port bug
This commit is contained in:
@@ -183,8 +183,6 @@ cac::~cac ()
|
||||
}
|
||||
this->iiuListMutex.unlock ();
|
||||
|
||||
this->defaultMutex.lock ();
|
||||
|
||||
//
|
||||
// shutdown udp and wait for threads to exit
|
||||
//
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user