diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2014-08-20 22:47:22 -0400 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2014-08-21 13:01:22 +0000 |
commit | a3d8f31ad0a48f72cd6d8fa2b0c3659c9ea84745 (patch) | |
tree | 48dfaefaf4298963c9a7c132d34e2f08da15ac4e /epan/dissectors/packet-mip6.c | |
parent | c7c4abaab00ce1a8bc35e326c80095e9cc47584e (diff) |
Add a function to dissect an E.164 (MSISDN) number in UTF8 format and use it
in the Diameter dissector.
This new API adds a filter for the MSISDN as well as a subtree and filter for
the Country Code.
Change-Id: Ibcbf4b5f72178b7e4af63efa7496188d608a9de7
Reviewed-on: https://code.wireshark.org/review/3760
Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-mip6.c')
-rw-r--r-- | epan/dissectors/packet-mip6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mip6.c b/epan/dissectors/packet-mip6.c index 7aaea58be3..c4f489bbf1 100644 --- a/epan/dissectors/packet-mip6.c +++ b/epan/dissectors/packet-mip6.c @@ -1805,7 +1805,7 @@ dissect_mip6_opt_vsm_3gpp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, v break; /* 12, MSISDN */ case 12: - dissect_e164_cc(tvb, tree, offset, TRUE); + dissect_e164_cc(tvb, tree, offset, E164_ENC_BCD); digit_str = tvb_bcd_dig_to_wmem_packet_str( tvb, offset, len, NULL, FALSE); proto_tree_add_string(tree, hf_mip6_opt_3gpp_msisdn, tvb, offset, len, digit_str); proto_item_append_text(hdr_item, " %s", digit_str); |