Wireshark-dev: Re: [Wireshark-dev] match_strval_index with offset

From: Anders Broman <a.broman@xxxxxxxxx>
Date: Mon, 24 May 2010 17:47:32 +0200
Kukosa, Tomas skrev 2010-05-24 16:40:
Hi,

what about using _match_strval_index also if all values min-max are defined? I.e. min>0.
The min value can be stored during match_strval_ext_init to vse->offset and can be used later for direct index access.
What do you think?

I think that's an excellent idea, we may not have to store the offset just use the first stored value as offset.
Regards
Anders
Tomas
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list<wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe