diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-02-23 05:35:47 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-02-23 05:35:47 +0000 |
commit | ab788d26886a3f1b24729e3db1e83f937560e1ba (patch) | |
tree | d1713dd2a167ed5681c62475c2dd66153a9defbc /gtk/hostlist_tcpip.c | |
parent | 59b11937631903807a1c00cfb052c27124a954c8 (diff) |
Make the tap names for host statistics use "hosts" instead of "conv",
and make the tap names for endpoint statistics use "endpoints" instead
of "conv".
Similarly, make the titles for their windows say "Hosts" or "Endpoints"
rather than "Conversations".
svn path=/trunk/; revision=10195
Diffstat (limited to 'gtk/hostlist_tcpip.c')
-rw-r--r-- | gtk/hostlist_tcpip.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/hostlist_tcpip.c b/gtk/hostlist_tcpip.c index 2aa4a0bb91..45106652e7 100644 --- a/gtk/hostlist_tcpip.c +++ b/gtk/hostlist_tcpip.c @@ -1,7 +1,7 @@ /* hostlist_tcpip.c 2004 Ian Schorr * modified from endpoint_talkers_tcpip.c 2003 Ronnie Sahlberg * - * $Id: hostlist_tcpip.c,v 1.3 2004/02/22 23:42:51 ulfl Exp $ + * $Id: hostlist_tcpip.c,v 1.4 2004/02/23 05:35:47 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -62,13 +62,13 @@ gtk_tcpip_hostlist_init(char *optarg) { char *filter=NULL; - if(!strncmp(optarg,"conv,tcp,",9)){ - filter=optarg+9; + if(!strncmp(optarg,"endpoints,tcp,",14)){ + filter=optarg+14; } else { filter=NULL; } - init_hostlist_table(FALSE, "TCP", "tcp", filter, (void *)tcpip_hostlist_packet); + init_hostlist_table(FALSE, "TCP Endpoints", "tcp", filter, (void *)tcpip_hostlist_packet); } @@ -76,14 +76,14 @@ gtk_tcpip_hostlist_init(char *optarg) static void gtk_tcpip_hostlist_cb(GtkWidget *w _U_, gpointer d _U_) { - gtk_tcpip_hostlist_init("conv,tcp"); + gtk_tcpip_hostlist_init("endpoints,tcp"); } void register_tap_listener_tcpip_hostlist(void) { - register_ethereal_tap("conv,tcp", gtk_tcpip_hostlist_init); + register_ethereal_tap("endpoints,tcp", gtk_tcpip_hostlist_init); register_tap_menu_item("TCP/Endpoint List (IPv4 & IPv6)", REGISTER_TAP_LAYER_TRANSPORT, gtk_tcpip_hostlist_cb, NULL, NULL, NULL); |