diff options
Diffstat (limited to 'gtk/hostlist_tcpip.c')
-rw-r--r-- | gtk/hostlist_tcpip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/hostlist_tcpip.c b/gtk/hostlist_tcpip.c index b0b3332a81..a3a5cecc17 100644 --- a/gtk/hostlist_tcpip.c +++ b/gtk/hostlist_tcpip.c @@ -60,7 +60,7 @@ tcpip_hostlist_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, co static void -gtk_tcpip_hostlist_init(const char *optarg) +gtk_tcpip_hostlist_init(const char *optarg, void* userdata _U_) { const char *filter=NULL; @@ -78,14 +78,14 @@ gtk_tcpip_hostlist_init(const char *optarg) 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); |