]> git.ipfire.org Git - thirdparty/libvirt.git/commit
wireshark: Adapt to tvb_new_subset() rename
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 18 Jul 2017 08:27:41 +0000 (10:27 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 18 Jul 2017 13:37:38 +0000 (15:37 +0200)
commitec91064169642130914805e9ba005966f45fea66
tree5e014b22deaa4b0224c160a02b33e71a24a7d623
parentd2f6bebf5c600edea14c68ded48975f3a4c96850
wireshark: Adapt to tvb_new_subset() rename

In Wireshark commit of 7cd6906056922e4b8 (contained in v2.4.0)
the tvb_new_subset() function was renamed to
tvb_new_subset_length_caplen(). However, we can take the extra
step and rename to tvb_new_subset_remaining() directly (see
Wireshark commit 0ecfc7280cf3d7). The reasoning is that there is
no other protocol in the packet than libvirt. Therefore, from the
point that libvirt dissector takes over till the end of the
packet it's all libvirt packet.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
tools/wireshark/src/packet-libvirt.c