diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2017-04-02 22:25:36 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-04-03 05:26:24 +0000 |
commit | a3444529e5c1d4a3439e33cb449c70b399bf9205 (patch) | |
tree | 7a1fd487f17d06bbc5bca8fc0cfbe2a1ee7498b8 /epan/dissectors | |
parent | ae3797ec11b043ef18b1fbbf3c3540f18adea768 (diff) |
GTPv2: fix dissection of TWAN PLMN-ID
Bug: 13552
Change-Id: I8c854eb30fd025a286f3823526c7f26acc8a758c
Reviewed-on: https://code.wireshark.org/review/20873
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-gtpv2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gtpv2.c b/epan/dissectors/packet-gtpv2.c index e4a88cb2d4..3414cfe5ce 100644 --- a/epan/dissectors/packet-gtpv2.c +++ b/epan/dissectors/packet-gtpv2.c @@ -5915,7 +5915,7 @@ dissect_gtpv2_twan_identifier(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree * in octets 's' to 's+3' shall be present */ if (flags & 0x04) { - proto_tree_add_item_ret_uint(tree, hf_gtpv2_twan_plmnid, tvb, offset, 3, ENC_BIG_ENDIAN, &civa_len); + proto_tree_add_item(tree, hf_gtpv2_twan_plmnid, tvb, offset, 3, ENC_NA); offset += 3; /* (q+1) to (q+r) Civic Address Information * ...it shall be encoded as defined in subclause 3.1 of IETF RFC 4776 [59] excluding the first 3 octets. |