aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wimax/msg_rng_rsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/wimax/msg_rng_rsp.c')
-rw-r--r--plugins/wimax/msg_rng_rsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/wimax/msg_rng_rsp.c b/plugins/wimax/msg_rng_rsp.c
index 517ff83804..845e160c3f 100644
--- a/plugins/wimax/msg_rng_rsp.c
+++ b/plugins/wimax/msg_rng_rsp.c
@@ -34,7 +34,7 @@
#include "moduleinfo.h"
-#include <gmodule.h>
+#include <glib.h>
#include <epan/packet.h>
#include <epan/prefs.h>
#include "crc.h"
@@ -730,8 +730,8 @@ void dissect_mac_mgmt_msg_rng_rsp_decoder(tvbuff_t *tvb, packet_info *pinfo, pro
if (tree)
{ /* we are being asked for details */
- /* Get the tvb length */
- tvb_len = tvb_length(tvb);
+ /* Get the tvb reported length */
+ tvb_len = tvb_reported_length(tvb);
/* display MAC payload type RNG-RSP */
rng_rsp_item = proto_tree_add_protocol_format(tree, proto_mac_mgmt_msg_rng_rsp_decoder, tvb, offset, tvb_len, "MAC Management Message, RNG-RSP (5)");
/* add MAC RNG-RSP subtree */