[PATCH 0/2] wireshark: Fix build with newer wireshark

Michal Privoznik posted 2 patches 2 years, 3 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1638181551.git.mprivozn@redhat.com
tools/wireshark/src/packet-libvirt.c | 32 +++++++---------------------
1 file changed, 8 insertions(+), 24 deletions(-)
[PATCH 0/2] wireshark: Fix build with newer wireshark
Posted by Michal Privoznik 2 years, 3 months ago
I've started seeing a build failure on rawhide because of new wireshark
(3.6.0). The problem is that wmem_alloc() function which we use was
removed from public symbols starting with the 3.6.0 release in favor of
wmem_new(). However, as I was looking at the code I realized that
wireshark already has a function for what our code does and decided to
drop our implementation in favor of wireshark's.

Michal Prívozník (2):
  wireshark: Switch to tvb_bytes_to_str()
  wireshark: Drop needless comment in dissect_xdr_bytes()

 tools/wireshark/src/packet-libvirt.c | 32 +++++++---------------------
 1 file changed, 8 insertions(+), 24 deletions(-)

-- 
2.32.0