wireshark-dev October 2010 archive
Main Archive Page > Month Archives  > wireshark-dev archives
wireshark-dev: [Wireshark-dev] Register XML fields only once

[Wireshark-dev] Register XML fields only once

From: Stig Bjørlykke <stig_at_nospam>
Date: Sun Oct 17 2010 - 19:36:21 GMT
To: Developer support list for Wireshark <wireshark-dev@wireshark.org>

Hi,

While looking for different hf elements registered with the same
abbrev in different protocols I found that the XML dissector does
register some fields twice, one for hf_tag and one for hf_cdata. I
think this fields can be common for both hf_tag and hf_cdata, but I
have no capture file to test my changes with.

Can anyone using the DTDS try the attached patch to see if we can do
this optimization?

-- Stig Bjørlykke

___________________________________________________________________________
Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe