Fix for bug 5422:
[metze/wireshark/wip.git] / tap-gsm_astat.c
index 2c7f26431c9ae1e7c4179a9a4c19da7bc893ada8..cd523aff6712a320f2344132f8aa6d15f02db0c9 100644 (file)
@@ -45,7 +45,6 @@
 #include <epan/stat_cmd_args.h>
 #include <epan/dissectors/packet-bssap.h>
 #include <epan/dissectors/packet-gsm_a_common.h>
-#include "register.h"
 
 
 typedef struct _gsm_a_stat_t {
@@ -332,7 +331,7 @@ gsm_a_stat_init(const char *optarg _U_,void* userdata _U_)
     memset(stat_p, 0, sizeof(gsm_a_stat_t));
 
     err_p =
-       register_tap_listener("gsm_a", stat_p, NULL,
+       register_tap_listener("gsm_a", stat_p, NULL, 0,
            NULL,
            gsm_a_stat_packet,
            gsm_a_stat_draw);