Wireshark-dev: Re: [Wireshark-dev] how to remove/unregister a dissector?
From: Chris Maynard <chris.maynard@xxxxxxxxx>
Date: Tue, 26 Apr 2011 18:57:07 +0000 (UTC)
George Nychis <gnychis@...> writes:

> Another alternative, is to remove packet-smb* from the build.

In most cases, to remove unwanted protocol dissectors from the build, delete the
relevant packet-*.c files from epan/dissectors/Makefile.common's DISSECTOR_SRC.

Alternatively, you could just disable those protocols via "Analyze -> Enabled
Protocols", then uncheck all those that you don't want/need.  This method does
not require recompiling Wireshark, but it doesn't prevent someone from
re-enabling them again, so if you want to avoid that, then you'll have to
recompile it.