Fixing datagram port number mismatches.