summaryrefslogtreecommitdiff
path: root/networking/udhcp/d6_common.h
diff options
context:
space:
mode:
authorDenys Vlasenko2011-11-07 16:21:24 +0100
committerDenys Vlasenko2011-11-07 16:21:24 +0100
commit68c5b28156450d686605bd4715980037cabf1286 (patch)
tree3360e61ad92015c5a34819b1a9c177524c237c02 /networking/udhcp/d6_common.h
parent9ba75048c0099ed90b9a64cb7bb57bf12be93528 (diff)
downloadbusybox-68c5b28156450d686605bd4715980037cabf1286.zip
busybox-68c5b28156450d686605bd4715980037cabf1286.tar.gz
udhcpc6: fix endianness
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/d6_common.h')
-rw-r--r--networking/udhcp/d6_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/d6_common.h b/networking/udhcp/d6_common.h
index 88afaf8..36d822f 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;