2020-07-12 09:15:11 +02:00
|
|
|
--- ./src/OSspecific/POSIX/POSIX.C.orig 2021-12-01 03:15:49.000000000 +0100
|
|
|
|
+++ ./src/OSspecific/POSIX/POSIX.C 2021-12-01 03:15:49.000000000 +0100
|
|
|
|
@@ -1430,7 +1430,7 @@
|
2017-11-22 19:40:17 +01:00
|
|
|
// Fill sockaddr_in structure with dest address and port
|
2020-07-12 09:15:11 +02:00
|
|
|
std::memset(reinterpret_cast<char *>(&destAddr), '\0', sizeof(destAddr));
|
2017-11-22 19:40:17 +01:00
|
|
|
destAddr.sin_family = AF_INET;
|
|
|
|
- destAddr.sin_port = htons(ushort(destPort));
|
|
|
|
+ destAddr.sin_port = htons(u_short(destPort));
|
|
|
|
destAddr.sin_addr.s_addr = addr;
|
|
|
|
|
|
|
|
|