]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tools: Keep wireshark plugin registration code in git
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 8 Feb 2019 08:10:24 +0000 (09:10 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 12 Feb 2019 08:22:59 +0000 (09:22 +0100)
commita87a75e579350329ae9fe51c5820d6abbdc73bac
treecd3fdad35ee0ecd7fe7b280c16cc8f310cde88a0
parentb76f4dec378096548da7f04f51145b86e66db755
tools: Keep wireshark plugin registration code in git

In order to be able to dissect libvirt protocol the wireshark
plugin needs to be registered. So far this plugin registration
code was generated on every build using a script that was copied
over from wireshark's tools/ directory.

This is suboptimal, because the way that plugins register changes
across wireshark releases. Therefore, let's keep the generated
file in the git, put the command line used to generate the file
into a comment and remove the script.

This solution allows us to put different registration mechanism
into one file (under #ifdef-s) and thus compile with wider range
of wireshark releases.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
.gitignore
tools/Makefile.am
tools/wireshark/src/plugin.c [new file with mode: 0644]
tools/wireshark/util/make-dissector-reg [deleted file]