mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
*blush*
Fix htonl and htons.
This commit is contained in:
parent
5b17d1f95a
commit
9b60f79d2a
1 changed files with 2 additions and 2 deletions
|
|
@ -56,8 +56,8 @@
|
|||
#define _QUAD_LOWWORD 0
|
||||
#define __ntohl(x) (__bswap32(x))
|
||||
#define __ntohs(x) (__bswap16(x))
|
||||
#define __htonl(x) (__bswap16(x))
|
||||
#define __htons(x) (__bswap32(x))
|
||||
#define __htonl(x) (__bswap32(x))
|
||||
#define __htons(x) (__bswap16(x))
|
||||
|
||||
static __inline __uint64_t
|
||||
__bswap64(__uint64_t _x)
|
||||
|
|
|
|||
Loading…
Reference in a new issue