MINOR: contrib: Make the wireshark peers dissector compile for more distribs.
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 19 Jan 2021 13:33:24 +0000 (14:33 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Feb 2021 11:21:56 +0000 (12:21 +0100)
commit052912b4251059f71ffa55c3ed7e6737bcec3abf
treeb3a07c41c8020704691c7287ad67c0855730d565
parent837559375bcb35b80eaaf777431e2be6033080ed
MINOR: contrib: Make the wireshark peers dissector compile for more distribs.

With a 2.6.8 wireshark, this module could not compile because of ws_version.h
missing header. This patch offers the possibility to compile this plugin without
having to include this header. Furthermore with my wireshark version a
"plugin_release" object is required to make it be loaded by wireshark. This is
a string which seems to have to match a dotted string made of you wireshark
major and minor versions.

(cherry picked from commit aab6f7c3e642aa5e298a9d8765b5063abf518bfb)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 9885f4b329dcb8aaacd41ebcffef520cb3d11fb1)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 5172cb0ebbed1ff82acd00a71891c02956025b17)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
contrib/wireshark-dissectors/peers/Makefile
contrib/wireshark-dissectors/peers/README
contrib/wireshark-dissectors/peers/packet-happp.c