This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

What is the alternative of match_strval?

1

Hi experts, I fail to build my plugin for wireshark 1.10.1. it report match_strval function undefined. Is there any alternative solution for this.

my plugin call this function like: if(!match_strval(tvb_get_bits8(tvb, bit_offset, 8),xxx_type));

Take Care

asked 15 Aug '13, 01:19

gaobrian's gravatar image

gaobrian
16113
accept rate: 0%


One Answer:

4

I think it's been renamed to try_val_to_str() see epan/value_string.[ch]

answered 15 Aug '13, 01:47

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%

It works well. Thanks

(15 Aug '13, 02:46) gaobrian