On Mon, Jun 01, 2009 at 10:48:15PM +0200, wsgd wrote: > Hello, > > From a plugin dissector, > at execution time : > How do I know the wireshark version ?
epan_get_version() is not good enough for your needs? It's a string, which may be a problem. But you could parse it... It'd be nice to have the equivalent of pcap_major_version() and pcap_minor_version(), which return version numbers as integers. It would be a nice, small addition to the libwireshark API that would come handy for plugin dissector writers as well as for those using libwireshark in their applications. Cheers, Eloy Paris.- netexpect.org ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
