aboutsummaryrefslogtreecommitdiffstats
path: root/tap-smbstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tap-smbstat.c')
-rw-r--r--tap-smbstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tap-smbstat.c b/tap-smbstat.c
index c8c6c88594..f4469427bf 100644
--- a/tap-smbstat.c
+++ b/tap-smbstat.c
@@ -206,7 +206,7 @@ smbstat_draw(void *pss)
static void
-smbstat_init(const char *optarg)
+smbstat_init(const char *optarg,void* userdata _U_)
{
smbstat_t *ss;
guint32 i;
@@ -276,6 +276,6 @@ smbstat_init(const char *optarg)
void
register_tap_listener_smbstat(void)
{
- register_stat_cmd_arg("smb,rtt", smbstat_init);
+ register_stat_cmd_arg("smb,rtt", smbstat_init,NULL);
}