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

From: Juan Jose Martin Carrascosa <juanjo@xxxxxxx>
Date: Tue, 30 Aug 2016 08:50:03 -0700
Glad to see that my question brought up such a nice discussion.

I think that so far I will go with allowing duplicates in rtps. I have submitted this patch:

https://code.wireshark.org/review/#/c/17393/

Do I have your blessing? :)

Thanks,
Juanjo

On Mon, Aug 29, 2016 at 8:13 PM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
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"?
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe



--

Juanjo Martin
Senior Application Engineer
Professional Services Group
Office: +34 958 27 88 62
Mobile: +34 656 30 20 56