diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-11-07 16:21:24 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-11-07 16:21:24 +0100 |
commit | 68c5b28156450d686605bd4715980037cabf1286 (patch) | |
tree | 3360e61ad92015c5a34819b1a9c177524c237c02 /networking/udhcp/d6_common.h | |
parent | 9ba75048c0099ed90b9a64cb7bb57bf12be93528 (diff) | |
download | busybox-w32-68c5b28156450d686605bd4715980037cabf1286.tar.gz busybox-w32-68c5b28156450d686605bd4715980037cabf1286.tar.bz2 busybox-w32-68c5b28156450d686605bd4715980037cabf1286.zip |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
54 | /*** Options ***/ | 54 | /*** Options ***/ |
55 | 55 | ||
56 | struct d6_option { | 56 | struct d6_option { |
57 | uint8_t code; | ||
58 | uint8_t code_hi; | 57 | uint8_t code_hi; |
59 | uint8_t len; | 58 | uint8_t code; |
60 | uint8_t len_hi; | 59 | uint8_t len_hi; |
60 | uint8_t len; | ||
61 | uint8_t data[1]; | 61 | uint8_t data[1]; |
62 | } PACKED; | 62 | } PACKED; |
63 | 63 | ||