From Alejandro Vaquero:
[obnox/wireshark/wip.git] / gtk / hostlist_ipx.c
index 792d8e4c2d4d2937b5ffd5a86779ff515e4023a0..cd02f04b3b56e8411f782ad8286ebd028aa281e1 100644 (file)
@@ -3,8 +3,8 @@
  *
  * $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
@@ -34,7 +34,8 @@
 #include <string.h>
 #include "epan/packet.h"
 #include <epan/stat_cmd_args.h>
-#include "stat_menu.h"
+#include "../stat_menu.h"
+#include "gui_stat_menu.h"
 #include <epan/tap.h>
 #include "../register.h"
 #include "hostlist_table.h"
@@ -59,7 +60,7 @@ ipx_hostlist_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, cons
 
 
 static void
-gtk_ipx_hostlist_init(const char *optarg)
+gtk_ipx_hostlist_init(const char *optarg, void* userdata _U_)
 {
        const char *filter=NULL;
 
@@ -77,14 +78,14 @@ gtk_ipx_hostlist_init(const char *optarg)
 static void
 gtk_ipx_hostlist_cb(GtkWidget *w _U_, gpointer d _U_)
 {
-       gtk_ipx_hostlist_init("hosts,ipx");
+       gtk_ipx_hostlist_init("hosts,ipx",NULL);
 }
 
 
 void
 register_tap_listener_ipx_hostlist(void)
 {
-       register_stat_cmd_arg("hosts,ipx", gtk_ipx_hostlist_init);
+       register_stat_cmd_arg("hosts,ipx", gtk_ipx_hostlist_init,NULL);
 
        register_stat_menu_item("IPX", REGISTER_STAT_GROUP_ENDPOINT_LIST,
            gtk_ipx_hostlist_cb, NULL, NULL, NULL);