Wireshark-bugs: [Wireshark-bugs] [Bug 9480] new dfilter function num_items()
Date: Thu, 28 Nov 2013 12:32:40 +0000

Comment # 3 on bug 9480 from
(In reply to comment #2)
> (In reply to comment #0)
> > I'd like to add a dfilter function num_items(). It takes a field name as
> > parameter and returns the number of occurrences in a packet.
> > 
> > This allows for filters such as
> > 
> > num_items(ip.addr)>=2
> 
> I was thinking to rename function to: count(ip.addr) [SQL-like], but
> num_items() is fine for me.
> 

You're right: count() is a better name.

I'll change it and commit the patch next week when I'm back home.


You are receiving this mail because:
  • You are watching all bug changes.