On Jan 23, 2021, at 1:06 PM, jayrturne...@gmail.com wrote: > I want to wrap expert_add_info calls so that I can check the expert_field* > argument, see if the severity is PI_ERROR, and set a generated field in my > protocol that says “this packet has errors”.
For what purpose? There's already something in the protocol tree saying "this packet has errors", namely the added expert info. A packet-matching expression that will match all packets that have a PI_ERROR expert info is _ws.expert.severity == "Error" ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe