summaryrefslogtreecommitdiff
path: root/ui/gtk/hostlist_table.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2014-12-30 23:26:19 -0500
committerAnders Broman <a.broman58@gmail.com>2015-01-02 00:02:18 +0000
commit860cb393d86fccd01c924b6ea2e565be8ca56698 (patch)
tree60ad77b05717f4470a47a49900cc3b43e1a5625f /ui/gtk/hostlist_table.c
parent07c9492b8d40ed766074679f86c49780277af002 (diff)
downloadwireshark-860cb393d86fccd01c924b6ea2e565be8ca56698.tar.gz
tshark: Add endpoints statistics
"stat name" has been official changed to "endpoints" for all dissectors, rather than a mixture of "host"/"endpoints" based on dissector. Change-Id: If34bcb5165b493948e784ba038ab202803a59843 Reviewed-on: https://code.wireshark.org/review/6154 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> 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: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/gtk/hostlist_table.c')
-rw-r--r--ui/gtk/hostlist_table.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/gtk/hostlist_table.c b/ui/gtk/hostlist_table.c
index 98eb2f8ac7..a0c62af529 100644
--- a/ui/gtk/hostlist_table.c
+++ b/ui/gtk/hostlist_table.c
@@ -1353,8 +1353,7 @@ void hostlist_endpoint_cb(register_ct_t* table)
{
char cmd_str[50];
- g_snprintf(cmd_str, 50, "%s,%s", (get_hostlist_prefix_func(table) != NULL) ? get_hostlist_prefix_func(table)() : "host",
- proto_get_protocol_filter_name(get_conversation_proto_id(table)));
+ g_snprintf(cmd_str, 50, "%s,%s", HOSTLIST_TAP_PREFIX, proto_get_protocol_filter_name(get_conversation_proto_id(table)));
dissector_hostlist_init(cmd_str, table);
}