Skip to content
  • Hadriel Kaplan's avatar
    Add filterable expert info for Lua · da1af6e5
    Hadriel Kaplan authored and AndersBroman's avatar AndersBroman committed
    This adds the ability for a Lua script to register expert info fields,
    similar to C-code dissectors. This change also removes the need for
    the expert_add_info_format_internal() function. Existing Lua scripts
    do not have to change, because the existing expert info function
    uses the internal "_ws.lua" protocol instead of nothing; but using
    the new functionality provides more benefits since it correctly
    registers the expert info fields to the dissector's protocol.
    
    The test suite was amended to generate both old and new forms.
    
    Change-Id: Ib5ae74e927cfa81312baf7b04ff4104b0b4f936e
    Reviewed-on: https://code.wireshark.org/review/830
    
    
    Reviewed-by: default avatarEvan Huus <eapache@gmail.com>
    Reviewed-by: default avatarAnders Broman <a.broman58@gmail.com>
    da1af6e5