Ethereal-dev: SV: [Ethereal-dev] obvious small bug in packet-scsi.c when parsing"MultiP" bit
Checked in.
Brg
Anders
-----Ursprungligt meddelande-----
Från: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx] För David Wysochanski
Skickat: den 31 oktober 2005 20:23
Till: ethereal-dev@xxxxxxxxxxxx
Ämne: [Ethereal-dev] obvious small bug in packet-scsi.c when parsing"MultiP"
bit
Need '0x' in front of '10'. (Patch against 0.10.13 source.)
diff -u packet-scsi.c packet-scsi.c.new
--- packet-scsi.c 2005-10-10 09:23:05.000000000 -0400
+++ packet-scsi.c.new 2005-10-31 14:18:28.843444256 -0500
@@ -1868,7 +1868,7 @@
proto_tree_add_text (tree, tvb, offset+6, 1,
"BQue: %u, SES: %u, MultiP: %u, Addr16: %u",
((flags & 0x80) >> 7), (flags & 0x40) >> 6,
- (flags & 10) >> 4, (flags & 0x01));
+ (flags & 0x10) >> 4, (flags & 0x01));
flags = tvb_get_guint8 (tvb, offset+7);
proto_tree_add_text (tree, tvb, offset+7, 1,
"RelAdr: %u, Linked: %u, CmdQue: %u",
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev