Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master 5fa0bb2: change the representation of an empty byte a

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 17 Sep 2015 07:39:34 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5fa0bb2d0262d25526b67219a546b2844172769f
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

5fa0bb2 by Martin Kaiser (wireshark@xxxxxxxxx):

    change the representation of an empty byte array in a display filter
    
    by default, an empty byte array (FT_BYTES) is represented as an empty string
    
    thus, using "Apply as Filter / Selected" on such an item creates an
    invalid display filter expression, e.g. dvb-ci.mmi.char_tbl==
    
    represent an empty byte array as "" if we're compiling a display filter
    expression
    
    Bug: 11526
    
    Change-Id: Ie94507a24a496e0c25bcdadfab72fdf9fb35958a
    Reviewed-on: https://code.wireshark.org/review/10540
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    

Actions performed:

    from  fade468   [iax2] minor cleanup
    adds  5fa0bb2   change the representation of an empty byte array in a display filter


Summary of changes:
 epan/ftypes/ftype-bytes.c |   20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)