Fixed untoh32 function

This commit is contained in:
Martin Willi 2009-12-23 13:08:42 +01:00
parent 925eadba5f
commit f8f4f31a77

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);
}
/**