How to filter by array index using dissectors?

asked 2021-09-09 11:47:25 +0000

I have defined the message structures using dissectors, Added fdesc,wsgd files. I'm able to decode packets using dissectors and filter individual values. eg Protocol.msgName==100. However, I want to filter by array elements. For example, If the message contains an array named MCC, I should be able to filter like this Protocol.MCC[0]==2.

edit retag flag offensive close merge delete

Comments

From your comments you're using WSGD for your dissector, support for that is over there.

grahamb gravatar imagegrahamb ( 2021-09-09 12:57:46 +0000 )edit

If by filter you mean display filter and if array elements is a multi-occurrence field, then check here:
Can I limit the display filter to an specific occurrence

(Issues have moved from Bugzilla to Gitlab: #3791, #10379

Chuckc gravatar imageChuckc ( 2021-09-09 15:08:48 +0000 )edit