1
0
forked from fsfw/fsfw

Merge remote-tracking branch 'upstream/mueller/udp-hotfix' into mueller/master

This commit is contained in:
2021-03-20 14:59:43 +01:00
5 changed files with 14 additions and 13 deletions

View File

@ -150,11 +150,9 @@ void TmTcUnixUdpBridge::checkAndSetClientAddress(sockaddr_in& newAddress) {
#endif
registerCommConnect();
/* Set new IP address if it has changed. */
if(clientAddress.sin_addr.s_addr != newAddress.sin_addr.s_addr) {
clientAddress = newAddress;
clientAddressLen = sizeof(clientAddress);
}
/* Set new IP address to reply to. */
clientAddress = newAddress;
clientAddressLen = sizeof(clientAddress);
}
void TmTcUnixUdpBridge::setMutexProperties(MutexIF::TimeoutType timeoutType,