From 5a874c5796d487054a3f562379731720931340d3 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 7 Sep 2020 11:27:08 +0200 Subject: 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. --- epan/dissectors/packet-gsm_a_bssmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3