From 68c5b28156450d686605bd4715980037cabf1286 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 7 Nov 2011 16:21:24 +0100 Subject: udhcpc6: fix endianness Signed-off-by: Denys Vlasenko --- networking/udhcp/d6_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'networking/udhcp/d6_common.h') diff --git a/networking/udhcp/d6_common.h b/networking/udhcp/d6_common.h index 88afaf8af..36d822f7e 100644 --- a/networking/udhcp/d6_common.h +++ b/networking/udhcp/d6_common.h @@ -54,10 +54,10 @@ struct udp_d6_packet { /*** Options ***/ struct d6_option { - uint8_t code; uint8_t code_hi; - uint8_t len; + uint8_t code; uint8_t len_hi; + uint8_t len; uint8_t data[1]; } PACKED; -- cgit v1.2.3