Commit Graph

12 Commits

Author SHA1 Message Date
Danny Al-Gaaf
533fd7a8c8 wireshark/ceph/packet-ceph.c: fix some issues from cppcheck
Fix some smaller performance related issues from cppcheck due to
"Variable '..xy..' is reassigned a value before the old one has been used.

Fix some indention.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-02-14 10:27:40 -08:00
Danny Al-Gaaf
e6591db6dc wireshark: fix some memory leaks
Fix some memory leaks in packet-ceph.c. Error from cppcheck was:

[wireshark/ceph/packet-ceph.c:215]: (error) Memory leak: plop
[wireshark/ceph/packet-ceph.c:237]: (error) Memory leak: plop
[wireshark/ceph/packet-ceph.c:543]: (error) Memory leak: fsid_dec

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-02-10 10:05:06 +01:00
Danny Al-Gaaf
f9f31aae68 wireshark: fix indention
Fix indention.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-01-24 10:35:58 -08:00
Danny Al-Gaaf
3e9cc0d40d wireshark: fix guint64 print format handling
Use G_GUINT64_FORMAT to handle print format of guint64 correctly.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-01-24 10:35:57 -08:00
Pierre Rognant
d67ad0db64 Wireshark dissector updated, work with the current development tree of wireshark. The way I patched it is not really clean, but it can be useful if some people quickly need to inspect ceph network flows. 2012-07-24 10:09:27 -07:00
Yehuda Sadeh
52f51a24e2 wireshar/ceph/packet-ceph.c: fix eol
Removing extra char from dos eol format.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-07-24 10:09:27 -07:00
Markus Elfring
f4b9d9d847 Bug #98: Unique names for include guards
A couple of preprocessor symbols for include guards tampered with the reserved namespace.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-06-17 10:47:37 -07:00
Sage Weil
6de2dde762 ceph: remove leading _ from macro
Reported-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-06-17 10:36:39 -07:00
Greg Farnum
afdab56a42 msgr: Remove the type CEPH_ENTITY_TYPE_ADMIN.
It *looks* like this won't break EntityName's isAdmin() function as that
depends on a set name, and client.admin will satisfy it. I think.
2010-03-02 10:02:03 -08:00
Yehuda Sadeh
f23530fec1 auth: fix connect response 2009-10-15 16:24:03 -07:00
Yehuda Sadeh
bdc218e352 wireshark: update with latest version, some other fixes 2009-10-15 14:16:27 -07:00
Yehuda Sadeh
cbd2ac570a wireshark: keep plugin code outside of the patch 2009-09-03 17:40:30 -07:00