diff options
author | Guy Harris <gharris@sonic.net> | 2022-08-25 19:42:38 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2022-08-25 20:02:20 -0700 |
commit | 8195bdd3407d6bdcc0f1afa4245d543dd894cf49 (patch) | |
tree | 7cf7cb8ee460b7861ebce1602227a34a26de8da8 /sharkd_session.c | |
parent | b65b95dda4e2aa7983a342957ff287059225bc22 (diff) |
Rename a bunch of things with "conversation".
A conversation in Wireshark might have two endpoints or might have no
endpoints; few if any have one endpoint. Distinguish between
conversations and endpoints.
Diffstat (limited to 'sharkd_session.c')
-rw-r--r-- | sharkd_session.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sharkd_session.c b/sharkd_session.c index 734b0af46a..947f1c66cd 100644 --- a/sharkd_session.c +++ b/sharkd_session.c @@ -2183,8 +2183,8 @@ sharkd_session_process_tap_conv_cb(void *arg) if (proto_with_port) { - sharkd_json_value_string("sport", (src_port = get_conversation_port(NULL, iui->src_port, iui->etype, iu->resolve_port))); - sharkd_json_value_string("dport", (dst_port = get_conversation_port(NULL, iui->dst_port, iui->etype, iu->resolve_port))); + sharkd_json_value_string("sport", (src_port = get_conversation_port(NULL, iui->src_port, iui->ctype, iu->resolve_port))); + sharkd_json_value_string("dport", (dst_port = get_conversation_port(NULL, iui->dst_port, iui->ctype, iu->resolve_port))); wmem_free(NULL, src_port); wmem_free(NULL, dst_port); @@ -2231,7 +2231,7 @@ sharkd_session_process_tap_conv_cb(void *arg) if (proto_with_port) { - sharkd_json_value_string("port", (port_str = get_conversation_port(NULL, endpoint->port, endpoint->etype, iu->resolve_port))); + sharkd_json_value_string("port", (port_str = get_endpoint_port(NULL, endpoint, iu->resolve_port))); wmem_free(NULL, port_str); } |