diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-09-07 11:27:08 +0200 |
---|---|---|
committer | Pascal Quantin <pascal@wireshark.org> | 2020-09-07 18:48:15 +0000 |
commit | 5a874c5796d487054a3f562379731720931340d3 (patch) | |
tree | ae5e624f0b92eee56d3808ed21bbcf911440d01d /epan | |
parent | 28faecec7a6f88eefab5c7e6531df4152b39e139 (diff) |
BSSMAP: Fix malformed packet exception on correct packet
Both osmocom and TTCN3 Titan are parsing Handover Request with an IPv6
Transport layer Address just fine, but wireshark was showing it as
malformed. Parsing the address similar to what is done in IPv4 fixes the
issue.
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-gsm_a_bssmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_bssmap.c b/epan/dissectors/packet-gsm_a_bssmap.c index c4e7708447..59df9ea670 100644 --- a/epan/dissectors/packet-gsm_a_bssmap.c +++ b/epan/dissectors/packet-gsm_a_bssmap.c @@ -3848,7 +3848,7 @@ be_aoip_trans_lay_add(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint /* IPv6 */ addr_type = 2; proto_tree_add_item(tree, hf_gsm_a_bssmap_aoip_trans_ipv6, tvb, curr_offset, 16, ENC_NA); - tvb_get_ipv6(tvb, offset + 5, &rtp_addr_ipv6); + tvb_get_ipv6(tvb, curr_offset, &rtp_addr_ipv6); curr_offset+=16; break; default: |