aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/hostlist_eth.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-02-23 05:35:47 +0000
committerGuy Harris <guy@alum.mit.edu>2004-02-23 05:35:47 +0000
commitab788d26886a3f1b24729e3db1e83f937560e1ba (patch)
treed1713dd2a167ed5681c62475c2dd66153a9defbc /gtk/hostlist_eth.c
parent59b11937631903807a1c00cfb052c27124a954c8 (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_eth.c')
-rw-r--r--gtk/hostlist_eth.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/hostlist_eth.c b/gtk/hostlist_eth.c
index c374c17bc0..6e68a03cf8 100644
--- a/gtk/hostlist_eth.c
+++ b/gtk/hostlist_eth.c
@@ -1,7 +1,7 @@
/* hostlist_eth.c 2004 Ian Schorr
* modified from endpoint_talkers_eth.c 2003 Ronnie Sahlberg
*
- * $Id: hostlist_eth.c,v 1.2 2004/02/22 18:44:01 ulfl Exp $
+ * $Id: hostlist_eth.c,v 1.3 2004/02/23 05:35:46 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -62,13 +62,13 @@ gtk_eth_hostlist_init(char *optarg)
{
char *filter=NULL;
- if(!strncmp(optarg,"conv,eth,",9)){
- filter=optarg+9;
+ if(!strncmp(optarg,"hosts,eth,",10)){
+ filter=optarg+10;
} else {
filter=NULL;
}
- init_hostlist_table(TRUE, "Ethernet", "eth", filter, (void *)eth_hostlist_packet);
+ init_hostlist_table(TRUE, "Ethernet Hosts", "eth", filter, (void *)eth_hostlist_packet);
}
@@ -76,14 +76,14 @@ gtk_eth_hostlist_init(char *optarg)
static void
gtk_eth_hostlist_cb(GtkWidget *w _U_, gpointer d _U_)
{
- gtk_eth_hostlist_init("conv,eth");
+ gtk_eth_hostlist_init("hosts,eth");
}
void
register_tap_listener_eth_hostlist(void)
{
- register_ethereal_tap("conv,eth", gtk_eth_hostlist_init);
+ register_ethereal_tap("hosts,eth", gtk_eth_hostlist_init);
register_tap_menu_item("Ethernet/Host List", REGISTER_TAP_LAYER_DATA_LINK,
gtk_eth_hostlist_cb, NULL, NULL, NULL);