From Xiao Xiangquan:
[obnox/wireshark/wip.git] / tap-gsm_astat.c
index 0185790fdec6a5e1f4580aff131a92a933a2f87e..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++;