Wireshark-bugs: [Wireshark-bugs] [Bug 4684] Filtering on protocol column does not work
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4684
Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |darkjames-ws@xxxxxxxxxxxx
--- Comment #2 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-07-25 06:04:51 PDT ---
How we want to fix it?
1/ Add new functions: col_set_expr, col_set_str_expr, col_add_str_expr, etc...
which can be used to add information about expression needed to generate
filter.
Like:
- col_set_str(pinfo->cinfo, COL_PROTOCOL, "TCP");
+ col_set_str_expr(pinfo->cinfo, COL_PROTOCOL, "TCP", "tcp");
2/ Add some 'hf_col_protocol', 'hf_col_info' which can be used as filter.
Expression like: col.protocol = "TCP", col.info = "Foobar"
Like:
col_set_str(pinfo->cinfo, COL_PROTOCOL, "TCP");
+ ti = proto_tree_add_string(tree, hf_col_protocol, tvb, 0, 0, "TCP");
+ PROTO_ITEM_SET_HIDDEN(ti);
3/ ...?
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.