bthnycl / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
0 stars 0 forks source link

[patch] Incorrect 6lowpan PAN handling #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a PAN id with bit 9 set.
2. Observe failure to compress the derived link-local IPv6 address

What is the expected output? What do you see instead?
The link-local address should be compressed by 6lowpan.

What version of the product are you using? On what operating system?
TinyOS-2.x trunk.

Please provide any additional information below.

The lib6lowpan code is missing the masking of the Global/Unique bit in the IPv6 
address. The attached patch rectifies this.

Original issue reported on code.google.com by jmatts...@dius.com.au on 6 Sep 2011 at 1:44

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by philip.l...@gmail.com on 12 Sep 2011 at 12:36

GoogleCodeExporter commented 9 years ago
I committed this patch as well as test case updates in r5743; all test cases 
now pass and we cover this case in the test suite.

Original comment by sdh...@gmail.com on 16 Sep 2011 at 2:11

GoogleCodeExporter commented 9 years ago
Was that printf("HERE\n") intentionally included? :)

Original comment by jmatts...@dius.com.au on 16 Sep 2011 at 2:31

GoogleCodeExporter commented 9 years ago
Darn it.   Thanks :)

Original comment by sdh...@gmail.com on 16 Sep 2011 at 2:36