Fixed untoh32 function

This commit is contained in:
Martin Willi committed 2009-12-23 13:08:56 +01:00
1 parent 925eadba5f
commit f8f4f31a77
1 file changed
+1 -1
+1 -1
View File
@@ -390,7 +390,7 @@ static inline u_int32_t untoh32(void *network)
u_int32_t tmp;
memcpy(&tmp, network, sizeof(tmp));
return ntohs(tmp);
return ntohl(tmp);
}
/**