Wireshark-dev: [Wireshark-dev] column_info.h rev 23058 introduce a bug for plugins ?
From: "Antoine Gardiol - FiveCo" <[email protected]>
Date: Wed, 10 Oct 2007 11:07:47 +0200
Title: Message
I'm writting a plugin for a specific protocol of my company and I found that a recent change to the file column_info.h (rev 23058) introduce an issue with the check_col function when the plugin is used with a previous version of wireshark (ie 0.99.6).
The change had added two new columns in the middle of the enum and so COL_PROTOCOL and COL_INFO have been shifted two times.
So if the plugin is compiled with the latest release of the repository, the check_col function will return false in all previous version of wireshark.
I think that the two new columns in the enum should be added at the end of the list and not in the middle of it ?
Thanks for your help.