Revert "net/sixlowpan: Fix a constant value used in IPv6 address decompression. The 0x0200 value used in the address modification should be in network order."

This reverts commit e8832be8f1443b7bfda72bfd5a0ca1c440ef5c54.
This commit is contained in:
Gregory Nutt 2018-04-16 06:40:10 -06:00
parent e470846356
commit 06aee06a8d

View File

@ -3,7 +3,7 @@
* 6lowpan HC06 implementation (draft-ietf-6lowpan-hc-06, updated to RFC
* 6282)
*
* Copyright (C) 2017-2018 Gregory Nutt, all rights reserved
* Copyright (C) 2017, Gregory Nutt, all rights reserved
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Derives from Contiki:
@ -506,7 +506,7 @@ static void uncompress_addr(FAR const struct netdev_varaddr_s *addr,
if (fullmac)
{
ipaddr[7] ^= HTONS(0x0200);
ipaddr[7] ^= 0x0200;
}
/* If we took the data from packet, then update the packet pointer */