commit | e5d966eff3ac364e4505c7c4da632321657029b3 | [log] [tgz] |
---|---|---|
author | Alexander Aring <alex.aring@gmail.com> | Tue Dec 17 14:21:24 2013 +0100 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue Dec 17 06:16:48 2013 -0800 |
tree | a2e6d1b2f9bc1211f9397894860674892c752b93 | |
parent | 95277eb1cdd63bd45dbd5a5f1a32b9d904d5f56d [diff] |
6lowpan: fix udp byte ordering The incoming udp header in lowpan_compress_udp_header function is already in network byte order. Everytime we read this values for source and destination port we need to convert this value to host byte order. In the outcoming header we need to set this value in network byte order which the upcoming process assumes. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>