offset += 2;
/*
+ * XXX - the SNIA SMB spec says this is a USHORT, not a
+ * ULONG.
+ *
* XXX - we should really only do this in case we have seen
* LARGE FILE being negotiated. Unfortunately, we might not
* have seen the negotiation phase in the capture....
proto_tree_add_item(tree, hf_smb_remaining, tvb, offset, 2, TRUE);
offset += 2;
- /* XXX we should really only do this in case we have seen LARGE FILE being negotiated */
+ /*
+ * XXX - we should really only do this in case we have seen
+ * LARGE FILE being negotiated. Unfortunately, we might not
+ * have seen the negotiation phase in the capture....
+ */
/* data length high */
datalen_high = tvb_get_letohs(tvb, offset);
proto_tree_add_uint(tree, hf_smb_data_len_high, tvb, offset, 2, datalen_high);