First time here? Check out the FAQ!

Ask Your Question
0

Why are ranges not possible in display filter frame.number?

asked May 3 '18

updated May 3 '18

I want to use a display filter to only show a certain range of frames. What works:

frame.number >= 20 && frame.number <= 30

I tried the more user friendly way with ranges, which does not work:

frame.number in { 20..30 }

Why is that? According to the user guide I would have expected the range notation to work with simple numbers like that.

(I tried with Version 2.2.6 on Debian 9 GNU/Linux and MS Windows 7 and with v2.4.5 also on Windows 7.)

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
0

answered May 3 '18

Jaap gravatar image

It works with Wireshark 2.6.0 and later.

Preview: (hide)
link

Comments

You're right. I just saw it in the documentation and that seems to be bleeding edge (which is good). The 2.6.0 announcement notes this as a new feature: https://www.wireshark.org/news/201804... :-)

LeSpocky gravatar imageLeSpocky ( May 3 '18 )
0

answered Jan 5 '3

Hi

another way, I'm using =Version 4.0.1

(frame.number == 480) || (frame.number == 482)

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: May 3 '18

Seen: 7,589 times

Last updated: May 03 '18