GSM A DTAP: add UMTS EVS to supported codecs list IE
[metze/wireshark/wip.git] / epan / dissectors / packet-lustre.c
index 5d0927f225475793dab26518b41709ead20749e8..681a7a13caa11909b06bf4e2884f0ec717062ea6 100644 (file)
@@ -804,7 +804,7 @@ static expert_field ei_lustre_obsopc = EI_INIT;
 /* LUSTRE_BUFFER_LEN(buffnum) */
 #define LUSTRE_BUFFER_LEN(_n) (LUSTRE_BUFCOUNT <= (_n) ? 0              \
                                : tvb_get_letohl(tvb, LUSTRE_BUFLEN_OFF+ \
-                                                sizeof(guint32)*(_n)))
+                                                4*(_n)))
 
 #define LUSTRE_REC_OFF  1 /* normal request/reply record offset */
 
@@ -4536,7 +4536,7 @@ dissect_xattr_buffers(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_t
     datalen = LUSTRE_BUFFER_LEN(buff_num+1);
     lenlen = LUSTRE_BUFFER_LEN(buff_num+2);
 
-    count = lenlen / sizeof(guint32);
+    count = lenlen / 4;
 
     namestart = nameoffset = offset;
     datastart = namestart + namelen;
@@ -8236,6 +8236,7 @@ proto_register_lustre(void)
         &ett_lustre_seq_range,
         &ett_lustre_mdt_ioepoch,
         &ett_lustre_capa,
+        &ett_lustre_idx_info,
         &ett_lustre_eadata,
         &ett_lustre_close_data,
         &ett_lustre_acl,