*
* $Id$
*
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
#include "../stat_menu.h"
#include "gui_stat_menu.h"
#include <epan/tap.h>
+#include <epan/emem.h>
#include "../register.h"
#include "hostlist_table.h"
#include <epan/dissectors/packet-tcp.h>
static void
-gtk_tcpip_hostlist_init(const char *optarg)
+gtk_tcpip_hostlist_init(const char *optarg, void* userdata _U_)
{
const char *filter=NULL;
static void
gtk_tcpip_hostlist_cb(GtkWidget *w _U_, gpointer d _U_)
{
- gtk_tcpip_hostlist_init("endpoints,tcp");
+ gtk_tcpip_hostlist_init("endpoints,tcp",NULL);
}
void
register_tap_listener_tcpip_hostlist(void)
{
- register_stat_cmd_arg("endpoints,tcp", gtk_tcpip_hostlist_init);
+ register_stat_cmd_arg("endpoints,tcp", gtk_tcpip_hostlist_init,NULL);
register_stat_menu_item("TCP (IPv4 & IPv6)", REGISTER_STAT_GROUP_ENDPOINT_LIST,
gtk_tcpip_hostlist_cb, NULL, NULL, NULL);