aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/hostlist_tcpip.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/hostlist_tcpip.c')
-rw-r--r--gtk/hostlist_tcpip.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/gtk/hostlist_tcpip.c b/gtk/hostlist_tcpip.c
index 8349d453fe..13b312ba29 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.1 2004/02/20 09:09:12 guy Exp $
+ * $Id: hostlist_tcpip.c,v 1.2 2004/02/22 18:44:02 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -81,18 +81,11 @@ gtk_tcpip_hostlist_cb(GtkWidget *w _U_, gpointer d _U_)
void
-register_tap_menu_tcpip_hostlist(void)
-{
- register_tap_menu_item("_Statistics/Host List/TCP (IPv4 IPv6)",
- gtk_tcpip_hostlist_cb, NULL, NULL, NULL);
-}
-
-
-
-
-void
register_tap_listener_tcpip_hostlist(void)
{
register_ethereal_tap("conv,tcp", gtk_tcpip_hostlist_init);
+
+ register_tap_menu_item("TCP/Host List (IPv4 & IPv6)", REGISTER_TAP_LAYER_TRANSPORT,
+ gtk_tcpip_hostlist_cb, NULL, NULL, NULL);
}