aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua
diff options
context:
space:
mode:
authorJohn Thacker <johnthacker@gmail.com>2024-02-21 09:21:55 -0500
committerJohn Thacker <johnthacker@gmail.com>2024-02-21 09:25:14 -0500
commit722816c68e2f54b9b05e9d0d665d5a4504abe995 (patch)
tree46e6db48c449719671dd9744e997815706fb219c /epan/wslua
parent2f6833b5f70aaca769d29d24dd057db0e91dcf1e (diff)
dfilter: Handle 64-bit extended value strings
Allow matching against 64-bit extended value strings the same way as other value strings. The IAX2 sample capture on the Wiki is a good test of this. Previously the matches operator would never match, and comparison operators we not allowed. Before: $ ./run/dftest -s 'iax2.voice.codec == "GSM compression"' Filter: iax2.voice.codec == "GSM compression" Error: "GSM compression" cannot be found among the possible values for iax2.voice.codec. iax2.voice.codec == "GSM compression" ^~~~~~~~~~~~~~~~~ After: $ ./run/dftest -s 'iax2.voice.codec == "GSM compression"' Filter: iax2.voice.codec == "GSM compression" Syntax tree: 0 TEST_ANY_EQ: 1 FIELD(iax2.voice.codec <FT_UINT64>) 1 FVALUE(2 <FT_UINT64>) Instructions: 0000 READ_TREE iax2.voice.codec -> R0 0001 IF_FALSE_GOTO 3 0002 ANY_EQ R0 == 2 0003 RETURN
Diffstat (limited to 'epan/wslua')
0 files changed, 0 insertions, 0 deletions