ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Duplicate dissectors error

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 29 Aug 2016 20:13:41 -0700
On Aug 29, 2016, at 7:58 PM, Michael Mann <mmann78@xxxxxxxxxxxx> wrote:

> The "justified" ones  (i.e.  those not using Decode As) were changed to "duplicates allowed".

Why not disable Decode As entries by default, so that dissector_add_for_decode_as() does nothing for the dissector table, and, in register_decode_as(), look up the dissector table by name and set the table to "allow Decode As entries"?