]> git.ipfire.org Git - thirdparty/libvirt.git/commit
wireshark: Replace WIRESHARK_COMPAT with actual version comparison
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 4 Jan 2016 10:26:03 +0000 (11:26 +0100)
committerCole Robinson <crobinso@redhat.com>
Wed, 20 Apr 2016 14:55:18 +0000 (10:55 -0400)
commit81367d3642ebfe683f909b2bbdc80e9cc686abf5
tree3dd65cc90a8792eeccaeb93c6da2543eabaf56e0
parent662b9afee96df4cbf0b4974b4e4097afae3ec18d
wireshark: Replace WIRESHARK_COMPAT with actual version comparison

In the upcoming patch we will need yet another #ifdef code block
depending on wireshark version. Instead of defining
WIRESHARK_COMPAT2 or something lets just compare the version
right at the place so that we can clearly see what version broke
API.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
(cherry picked from commit 7bcbcd1d93afae77f92a50ce2c286058bccdd58b)
tools/wireshark/src/packet-libvirt.c