Wireshark-commits: [Wireshark-commits] master-2.0 bab619f: Keep comments from stealing hierarchy st
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 15 Jan 2016 18:36:36 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bab619f47d976cd8c0257c9a87e12ed768dabbe8
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

bab619f by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Keep comments from stealing hierarchy statistics.
    
    If a packet has a comment, the Protocol Hierarchy Statistics dialog will
    add its stats to a top-level "Packet comments" node instead of the
    "Frame" node. Add a check for the pkt_comment protocol ID and skip over
    it if we find it. Affects Wireshark 2.0, 1.12, 1.10, and probably
    earlier versions.
    
    As an alternative we could always force "Frame" to be the first item in
    the tree.
    
    Change-Id: If7cd817071caf6219515f5d8121b3a1a2c0d79a6
    Reviewed-on: https://code.wireshark.org/review/13297
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    (cherry picked from commit bebb63bea9cf58665a31c78abcbbe82658b1e49d)
    Reviewed-on: https://code.wireshark.org/review/13315
    

Actions performed:

    from  00aaab0   DICOM: fix addition of item subtrees
    adds  bab619f   Keep comments from stealing hierarchy statistics.


Summary of changes:
 ui/proto_hier_stats.c |   15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)