ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master ef01359: Add support for protocol aliases. Switch BOO

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 31 Aug 2018 05:25:25 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ef013598494e8a6571d042bc73c2dab393934b2f
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

ef01359 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Add support for protocol aliases. Switch BOOTP to DHCP.
    
    Add support for aliasing one protocol name to another and for filtering
    using aliased fields. Mark aliased fields as deprecated.
    
    Rename the BOOTP dissector to DHCP and alias "bootp" to "dhcp". This
    lets you use both "dhcp.type" and "bootp.type" as display filter fields
    without having to duplicate all 500+ DHCP/BOOTP fields.
    
    To do:
    - Add checks to proto.c:check_valid_filter_name_or_fail?
    - Transition SSL to TLS.
    - Rename packet-bootp.c to packet-dhcp.c?
    
    Change-Id: I29977859995e8347d80b8e83f1618db441b10279
    Ping-Bug: 14922
    Reviewed-on: https://code.wireshark.org/review/29327
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  9a71ec0   MySQL: decode responses for more requests in a row
     add  ef01359   Add support for protocol aliases. Switch BOOTP to DHCP.


Summary of changes:
 docbook/release-notes.asciidoc              |    3 +
 docbook/wsug_src/WSUG_chapter_work.asciidoc |   27 +-
 epan/dfilter/scanner.l                      |   27 +-
 epan/dissectors/packet-bootp.c              | 5299 ++++++++++++++-------------
 epan/dissectors/packet-catapult-dct2000.c   |    2 +-
 epan/proto.c                                |   51 +
 epan/proto.h                                |   12 +
 test/lua/field.lua                          |    8 +-
 test/lua/listener.lua                       |   46 +-
 test/lua/nstime.lua                         |    2 +-
 test/lua/pinfo.lua                          |    2 +-
 test/lua/proto.lua                          |    2 +-
 tools/oss-fuzzshark/build.sh                |    4 +-
 ui/qt/widgets/syntax_line_edit.cpp          |    2 +-
 14 files changed, 2790 insertions(+), 2697 deletions(-)