Skip to content

Commit

Permalink
Update iperf.h
Browse files Browse the repository at this point in the history
  • Loading branch information
przemoz authored Dec 22, 2023
1 parent eb73edd commit 4ba1d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iperf.h
Original file line number Diff line number Diff line change
Expand Up @@ -465,11 +465,11 @@ extern int gerror; /* error value from getaddrinfo(3), for use in internal error
#if BYTE_ORDER == BIG_ENDIAN
#define UDP_CONNECT_MSG 0x39383736
#define UDP_CONNECT_REPLY 0x36373839
#define UDP_CONNECT_REPLY_NEXT_PORT 0x39383735 // "9875": for Windows - indicates use next port
#define LEGACY_UDP_CONNECT_REPLY 0xb168de3a
#else
#define UDP_CONNECT_MSG 0x36373839 // "6789" - legacy value was 123456789
#define UDP_CONNECT_REPLY 0x39383736 // "9876" - legacy value was 987654321
#define UDP_CONNECT_REPLY_NEXT_PORT 0x39383735 // "9875": for Windows - indicates use next port
#define LEGACY_UDP_CONNECT_REPLY 987654321 // Old servers may still reply with the legacy value
#endif

Expand Down

0 comments on commit 4ba1d6c

Please sign in to comment.