Try to fix some of the build problems, it still bumms out on:
[obnox/wireshark/wip.git] / tap-gsm_astat.c
index 2c7f26431c9ae1e7c4179a9a4c19da7bc893ada8..b84e377dfb06572a1c49dc0abf19109f79a81893 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 {
@@ -304,14 +303,14 @@ gsm_a_stat_draw(
     printf("Message (ID)Type                                        Number\n");
 
     i = 0;
-    while (gsm_a_sacch_msg_rr_strings[i].strptr)
+    while (gsm_a_rr_short_pd_msg_strings[i].strptr)
     {
-       if (stat_p->sacch_rr_message_type[gsm_a_sacch_msg_rr_strings[i].value] > 0)
+       if (stat_p->sacch_rr_message_type[gsm_a_rr_short_pd_msg_strings[i].value] > 0)
        {
            printf("0x%02x  %-50s%d\n",
-               gsm_a_sacch_msg_rr_strings[i].value,
-               gsm_a_sacch_msg_rr_strings[i].strptr,
-               stat_p->sacch_rr_message_type[gsm_a_sacch_msg_rr_strings[i].value]);
+               gsm_a_rr_short_pd_msg_strings[i].value,
+               gsm_a_rr_short_pd_msg_strings[i].strptr,
+               stat_p->sacch_rr_message_type[gsm_a_rr_short_pd_msg_strings[i].value]);
        }
 
        i++;
@@ -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);