Fix for big endian architectures. The "up_address" field is 8-bit and

does not need byte swapping.

MFC after:	1 week
This commit is contained in:
Hans Petter Selasky 2014-05-28 12:27:41 +00:00
parent 3ac1248373
commit 7eff5abf03

View File

@ -473,7 +473,7 @@ print_apacket(const struct header_32 *hdr, const uint8_t *ptr, int ptr_len)
*/
up->up_totlen = le32toh(up->up_totlen);
up->up_busunit = le32toh(up->up_busunit);
up->up_address = le32toh(up->up_address);
up->up_address = up->up_address;
up->up_flags = le32toh(up->up_flags);
up->up_status = le32toh(up->up_status);
up->up_error = le32toh(up->up_error);