aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include/netinet/in.h
diff options
context:
space:
mode:
authorhpa <hpa>2005-01-21 00:49:46 +0000
committerhpa <hpa>2005-01-21 00:49:46 +0000
commite8d5cb2b20b82c4e30942834fad8ddb1592bb1db (patch)
treed968800a7b80406059ba06508b84ed62ddfd89db /com32/include/netinet/in.h
parentf7c564216b2d987a1b0b30602fd33536c7f4276e (diff)
downloadsyslinux-e8d5cb2b20b82c4e30942834fad8ddb1592bb1db.tar.gz
syslinux-e8d5cb2b20b82c4e30942834fad8ddb1592bb1db.tar.xz
syslinux-e8d5cb2b20b82c4e30942834fad8ddb1592bb1db.zip
More work on password support for the menu systems. Make the base64
decoder work (necessary to handle encrypted passwords.) Simple SHA-1 password generator in Perl.
Diffstat (limited to 'com32/include/netinet/in.h')
-rw-r--r--com32/include/netinet/in.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/include/netinet/in.h b/com32/include/netinet/in.h
index dc11448b..325bd4cf 100644
--- a/com32/include/netinet/in.h
+++ b/com32/include/netinet/in.h
@@ -27,7 +27,7 @@ static inline uint32_t __htonl(uint32_t v)
}
#define htonl(x) __htonl(x)
-#define ntohl(x) __ntohl(x)
+#define ntohl(x) __htonl(x)
static inline uint64_t __htonq(uint64_t v)
{
@@ -35,7 +35,7 @@ static inline uint64_t __htonq(uint64_t v)
}
#define htonq(x) __htonq(x)
-#define ntohq(x) __ntohq(x)
+#define ntohq(x) __htonq(x)
#endif /* _NETINET_IN_H */