Wireshark mailing list archives

Re: Checking for Qt in a dissector


From: Guy Harris <guy () alum mit edu>
Date: Mon, 3 Jul 2017 10:22:12 -0700

On Jul 3, 2017, at 9:46 AM, Paul Offord <Paul.Offord () advance7 com> wrote:

I have a dissector that needs to confirm that it is running in a Qt environment i.e. Wireshark 2.x.x and not tshark.  
What is a good way to check for this?

There is no way to check for that and, as Pascal says, there should not ever be a way to check for that.

Rethink what you're doing so that there will not be such a need.  Why do you believe you need this?
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: