diff options
author | Yehuda Sadeh <yehuda@hq.newdream.net> | 2009-10-15 16:24:03 -0700 |
---|---|---|
committer | Yehuda Sadeh <yehuda@hq.newdream.net> | 2009-10-15 16:24:03 -0700 |
commit | f23530fec1392485cd530c1e66364d4d33e28300 (patch) | |
tree | 7a1f1cbaa227e2b611fa1aa9f1d1d50881d0206b /wireshark | |
parent | b400d549b3243ca9d9ed9c7e0b5a6701ad97fb35 (diff) | |
download | ceph-f23530fec1392485cd530c1e66364d4d33e28300.tar.gz |
auth: fix connect response
Diffstat (limited to 'wireshark')
-rw-r--r-- | wireshark/ceph/packet-ceph.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wireshark/ceph/packet-ceph.c b/wireshark/ceph/packet-ceph.c index e6e12206fa2..754478db0d5 100644 --- a/wireshark/ceph/packet-ceph.c +++ b/wireshark/ceph/packet-ceph.c @@ -476,7 +476,7 @@ static guint32 dissect_ceph_footer(tvbuff_t *tvb, proto_tree *tree, guint32 offs proto_tree_add_item(ceph_footer_tree, hf_ceph_footer_front_crc, tvb, offset+4, 4, TRUE);
proto_tree_add_item(ceph_footer_tree, hf_ceph_footer_middle_crc, tvb, offset+8, 4, TRUE);
data_crc_item = proto_tree_add_item(ceph_footer_tree, hf_ceph_footer_data_crc, tvb, offset+12, 4, TRUE);
- proto_item_append_text(data_crc_item, " (calculated %x)", data_crc);
+ proto_item_append_text(data_crc_item, " (calculated %x)", data_crc);
offset += 12;
return offset;
@@ -531,7 +531,7 @@ static guint32 dissect_ceph_server_connect(tvbuff_t *tvb, proto_tree *tree, guin ceph_header_tree = proto_item_add_subtree(ceph_sub_item, ett_ceph);
offset = dissect_ceph_entity_addr(tvb, ceph_header_tree, offset);
-
+ offset = dissect_ceph_entity_addr(tvb, ceph_header_tree, offset);
msg = (struct ceph_msg_connect_reply *)tvb_get_ptr(tvb, offset, sizeof(struct ceph_msg_connect_reply));
PROTO_ADD_TEXT(struct ceph_msg_connect_reply, msg, tag, "%d");
PROTO_ADD_TEXT(struct ceph_msg_connect_reply, msg, global_seq, "%d");
@@ -1094,6 +1094,7 @@ static guint get_ceph_message_len(packet_info *pinfo, tvbuff_t *tvb, int offset) } else
len = sizeof(CEPH_BANNER) - 1 +
sizeof(struct ceph_entity_addr) +
+ sizeof(struct ceph_entity_addr) +
sizeof(struct ceph_msg_connect_reply);
return len;
|