aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-glusterfs.c
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2014-04-28 15:54:05 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2014-05-01 11:52:19 +0000
commit2f960b70982f7852f816141ed6bb3b50536081a5 (patch)
tree4903b69f41e1d4fb82cb3b25ff88a8a38edb3bee /epan/dissectors/packet-glusterfs.c
parent60c580dd13d78f682e2bce3fad00683a1c974fce (diff)
gluster: add support for GlusterD v3 procedures
The GlusterD Management protocol has been updated to version 3. All procedures are implemented with this change. This change also takes care of converting values passed in a dictionary to real and displayable GUIDs. Change-Id: I93808eda393745aa9ab3b986a6b7997f6f80df50 Reported-by: Vikhyat Umrao <vumrao@redhat.com> Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: https://code.wireshark.org/review/1411 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-glusterfs.c')
-rw-r--r--epan/dissectors/packet-glusterfs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-glusterfs.c b/epan/dissectors/packet-glusterfs.c
index 6cb527ac28..9da3ebf599 100644
--- a/epan/dissectors/packet-glusterfs.c
+++ b/epan/dissectors/packet-glusterfs.c
@@ -539,7 +539,10 @@ gluster_rpc_dissect_dict(proto_tree *tree, tvbuff_t *tvb, int hfindex, int offse
/* read the value, possibly '\0' terminated */
if (tree) {
/* keys named "gfid-req" contain a GFID in hex */
- if (value_len == 16 && !strncmp("gfid-req", key, 8)) {
+ if (value_len == 16 && (
+ !strncmp("gfid-req", key, 8) ||
+ !strncmp("transaction_id", key, 14) ||
+ !strncmp("originator_uuid", key, 15))) {
char *gfid_s;
e_guid_t gfid;