Wireshark mailing list archives

Register XML fields only once


From: Stig Bjørlykke <stig () bjorlykke org>
Date: Sun, 17 Oct 2010 21:36:21 +0200

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

Attachment: packet-xml-register-once.patch
Description:

___________________________________________________________________________
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

Current thread: