Wireshark-commits: [Wireshark-commits] master 04b82a7: Convert AT_SS7PC to a "dissector address typ
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 13 Jun 2016 17:06:55 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=04b82a7dc971597be958ba902bcf51dc32189305
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

04b82a7 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Convert AT_SS7PC to a "dissector address type"
    
    The formatting of the address type is determined by a preference in
    packet-mtp3.c, so just make MTP3 register the address type.
    Use address_type_get_by_name in other dissectors (and export_pdu)
    to use the address type.
    
    Change-Id: Ifb32d7de27aeaa23cee8e803e25ffb3c905547b5
    Reviewed-on: https://code.wireshark.org/review/15856
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  e2e8456   Use getc_unlocked in a few places.
    adds  04b82a7   Convert AT_SS7PC to a "dissector address type"


Summary of changes:
 debian/libwireshark0.symbols                     |    1 -
 epan/address.h                                   |    1 -
 epan/address_types.c                             |   29 -------------------
 epan/dissectors/asn1/h248/packet-h248-template.c |   20 ++++++++-----
 epan/dissectors/asn1/tcap/packet-tcap-template.c |   21 ++++++++------
 epan/dissectors/packet-exported_pdu.c            |    9 ++++--
 epan/dissectors/packet-h248.c                    |   30 ++++++++++++--------
 epan/dissectors/packet-m3ua.c                    |    9 ++++--
 epan/dissectors/packet-mtp3.c                    |   31 +++++++++++++++++---
 epan/dissectors/packet-mtp3.h                    |    3 +-
 epan/dissectors/packet-ppcap.c                   |   16 +++++++----
 epan/dissectors/packet-sccp.c                    |   15 ++++++----
 epan/dissectors/packet-sua.c                     |   12 +++++---
 epan/dissectors/packet-tcap.c                    |   33 +++++++++++++---------
 epan/epan.c                                      |    2 ++
 epan/exported_pdu.c                              |   16 ++++++++---
 epan/exported_pdu.h                              |    2 ++
 17 files changed, 149 insertions(+), 101 deletions(-)