diff options
author | Anders Broman <anders.broman@ericsson.com> | 2011-07-04 14:33:22 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2011-07-04 14:33:22 +0000 |
commit | 4257e61b6c8d496cb0f91a9f3ceaf5ddb551a065 (patch) | |
tree | 1e930a87e6a95a2c9b0ac67d68d70b6e31e4db6b /plugins/wimax/wimax_pdu_decoder.c | |
parent | 639e59a9f90f1f0dc4f673f8b1f37c9d64b84834 (diff) |
From Kluchnikov Ivan:
Wireshark cannot decode wimax compressed DL-MAP without FCH burst.
Function is_down_link use the base station address (bs_address), which is set
in function dissect_wimax_fch_decoder.
Changed function is_down_link, it use packet_info->p2p_dir for check if packet
is downlink.
packet_info->p2p_dir set in GSMTAP.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6066
svn path=/trunk/; revision=37889
Diffstat (limited to 'plugins/wimax/wimax_pdu_decoder.c')
-rw-r--r-- | plugins/wimax/wimax_pdu_decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/wimax/wimax_pdu_decoder.c b/plugins/wimax/wimax_pdu_decoder.c index 0874db752c..2c4649ec4e 100644 --- a/plugins/wimax/wimax_pdu_decoder.c +++ b/plugins/wimax/wimax_pdu_decoder.c @@ -48,7 +48,7 @@ extern void dissect_mac_header_generic_decoder(tvbuff_t *tvb, packet_info *pinfo extern void dissect_mac_header_type_1_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissect_mac_header_type_2_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void dissector_wimax_harq_map_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); -extern gboolean is_down_link(address *src_address); +extern gboolean is_down_link(packet_info *pinfo); extern gint wimax_decode_dlmap_reduced_aas(tvbuff_t *tvb, packet_info *pinfo, proto_tree *base_tree); extern gint wimax_decode_dlmapc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *pdu_tree); @@ -130,7 +130,7 @@ static void dissect_wimax_pdu_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_t } else if((first_byte & WIMAX_MAP_TYPE_MASK) == WIMAX_COMPRESSED_DL_MAP_IND) { - if(is_down_link(&pinfo->src)) + if(is_down_link(pinfo)) { /* decode compressed dl-map without mac header */ if ((first_byte & REDUCED_PRIVATE_MAP_MASK) == REDUCED_PRIVATE_MAP_MASK) { |