Wireshark-commits: [Wireshark-commits] master 77d4112: DVB-S2-BB: For GSE Protocol Type, separate N

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 6 Jul 2020 10:42:32 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=77d4112bb171cf29127bb0c9109206bf1a25d9e4
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

77d4112 by Martin Mathieson (martin.mathieson@xxxxxxxxxxxx):

    DVB-S2-BB: For GSE Protocol Type, separate Next-Header and Ethertype subtypes.
    
    For Ethertype, use etype_vals (don't know how likely types not named as
    examples in specs are likely to be seen).
    
    Fixes warnings from previous range_string that tried to cover both types, but
    where "not implemented" catch-all ranges preceded and hid individual types.
    
    ** (process:24396): WARNING **: 21:24:48.760: value_range_string error:  Protocol (dvb-s2_gse.proto) hidden by earlier entry (prev="not implemented":  0 0x0 -> 255 0xff)  (this="NCR":  129 0x81 -> 129 0x81)
    
    ** (process:24396): WARNING **: 21:24:48.760: value_range_string error:  Protocol (dvb-s2_gse.proto) hidden by earlier entry (prev="not implemented":  0 0x0 -> 255 0xff)  (this="Signaling Table":  130 0x82 -> 130 0x82)
    
    ** (process:24396): WARNING **: 21:24:48.760: value_range_string error:  Protocol (dvb-s2_gse.proto) hidden by earlier entry (prev="not implemented":  2049 0x801 -> 34524 0x86dc)  (this="VLAN":  33024 0x8100 -> 33024 0x8100)
    
    Tested with dvb-s2_bb_example.pcap (where the only Protocol Type value set is for IPv4).
    
    Change-Id: I7c8d8669c3f3e76974db8472783284975e063c12
    Reviewed-on: https://code.wireshark.org/review/37711
    Petri-Dish: Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  df5cc85   GBCS: fix field abbreviation for firmware hash
     add  77d4112   DVB-S2-BB: For GSE Protocol Type, separate Next-Header and Ethertype subtypes.


Summary of changes:
 epan/dissectors/packet-dvb-s2-bb.c | 41 +++++++++++++++++++++++---------------
 1 file changed, 25 insertions(+), 16 deletions(-)