diff options
author | Vasil Velichckov <vvvelichkov@gmail.com> | 2015-06-19 19:24:53 +0300 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-06-22 06:00:14 +0000 |
commit | eb2dffa56c32330a98fec4269322a9bed058c5bb (patch) | |
tree | 3e973d1bafd28ee5e023cd9d2b1e52743b9bba80 /pcapio.h | |
parent | e8a238fce27baf85ee9ea795ce1a63b7609d5267 (diff) |
GSM MAP: Fix decoding of IPv6 addresses
From 3GPP 23.003
The GSN Address is composed of the following elements:
1) The Address Type, which is a fixed length code (of 2 bits) identifying the type of address that is used in the
Address field.
2) The Address Length, which is a fixed length code (of 6 bits) identifying the length of the Address field.
3) The Address, which is a variable length field which contains either an IPv4 address or an IPv6 address.
Address Type 0 and Address Length 4 are used when Address is an IPv4 address.
Address Type 1 and Address Length 16 are used when Address is an IPv6 address.
The IP v4 address structure is defined in RFC 791 [14].
The IP v6 address structure is defined in RFC 2373 [15].
Currently the Wireshark decodes IPv6 addresses as IPv4
This commit reverts parts of commit 1cdef1d98aac306932dc599d427a3e1191d48a44
Change-Id: I4905d4cf559abcb42b9dfe3652667d2ff96dd444
Reviewed-on: https://code.wireshark.org/review/8984
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'pcapio.h')
0 files changed, 0 insertions, 0 deletions