[cooja] plugins/analyzers/ICMPv6Analyzer: DTSN field is unsigned

This commit is contained in:
Enrico Joerns 2014-06-19 04:31:08 +02:00
parent e556419e37
commit ab0be0b150
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ public class ICMPv6Analyzer extends PacketAnalyzer {
int version = packet.get(5) & 0xff;
int rank = ((packet.get(6) & 0xff) << 8) + (packet.get(7) & 0xff);
int mop = (packet.get(8) >> 3) & 0x07;
int dtsn = packet.get(9);
int dtsn = packet.get(9) & 0xFF;
verbose.append(" InstanceID: ").append(instanceID)
.append(", Version: ").append(version)