diff options
author | Michael Mann <mmann78@netscape.net> | 2017-09-18 22:48:11 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-09-19 06:44:51 +0000 |
commit | dd5875c487dea7e75b3653485d153c0dab909699 (patch) | |
tree | e1e6219872900d9a067dd6940389e6ede1ea84d5 /sharkd_session.c | |
parent | 8a25ac7306b9eef5c7d75ee1c610eb2b0a8144fe (diff) |
Sequence analysis (flow graph) optimizations for dissectors
1. Remove protocol member from seq_analysis_item_t.
It's not used by any GUI, so don't burden dissectors with populating it.
2. Allow any dissector to change colors display by flow graph
3. Provide helper functions that may be common if other dissectors
want to create sequence analysis.
Change-Id: I04fa3c9f3cf6879ab9a8d7d6f4896b4979d010d7
Reviewed-on: https://code.wireshark.org/review/23613
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Jakub Zawadzki <darkjames-ws@darkjames.pl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'sharkd_session.c')
-rw-r--r-- | sharkd_session.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sharkd_session.c b/sharkd_session.c index 129fa6e5ab..2413fb6405 100644 --- a/sharkd_session.c +++ b/sharkd_session.c @@ -1066,12 +1066,6 @@ sharkd_session_process_tap_flow_cb(void *tapdata) printf(",\"n\":[%u,%u]", sai->src_node, sai->dst_node); printf(",\"pn\":[%u,%u]", sai->port_src, sai->port_dst); - if (sai->protocol) - { - printf(",\"p\":"); - json_puts_string(sai->protocol); - } - if (sai->comment) { printf(",\"c\":"); |