Wireshark-bugs: [Wireshark-bugs] [Bug 7752] Feature Request: Being able to add a Column which is
Date: Tue, 25 Sep 2012 11:06:50 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7752

Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Enhancement                 |Normal

--- Comment #4 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-09-25 11:06:50 PDT ---
(In reply to comment #2)
> What if there is just one foo and multiple bar but always at least one and then
> be able to choose which instance of bar to use Foo – bar[1]

At least in display filter language [] is slicing operator, and bar[1] means
first byte of bar.

We could use bar{1}, but what if bar{1} not exists?
Problem is that you don't know about it at compile time.
In such cases should we display warning runtime?

Instead we could add new functions like: sum(), avg(), max(), min() which
returns single value [or 0 (NULL)? when there's no item], or

maybe we should not implement it as custom columns, just add new 'report
generator dialog' which allows SQL-like queries on pcap file?

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.