Showing the changes to assignment-client/src/AssignmentClient.cpp (1 of 8 files). Show all
Unified · Split
| @@ -111,7 +111,7 @@ void AssignmentClient::readPendingDatagrams() { · 110 unmodified lines | ||
| 111 | 111 | if ((receivedBytes = nodeList->getNodeSocket().readDatagram((char*) packetData, MAX_PACKET_SIZE, |
| 112 | 112 | senderSockAddr.getAddressPointer(), |
| 113 | 113 | senderSockAddr.getPortPointer())) |
| 114 | − && packetVersionMatch(packetData)) { | |
| 114 | + && packetVersionMatch(packetData, senderSockAddr)) { | |
| 115 | 115 | |
| 116 | 116 | if (_currentAssignment) { |
| 117 | 117 | // have the threaded current assignment handle this datagram |