Wireshark-commits: [Wireshark-commits] master-3.0 28281a7: pcapng: fix build in older releases.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 04 May 2020 19:20:10 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=28281a7bd9f05b300ef0da2712da0efd3948aaf3
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark

Commits:

28281a7 by Guy Harris (guy@xxxxxxxxxxxx):

    pcapng: fix build in older releases.
    
    The proto_item_set_generated() inline function wasn't in pre-3.2
    releases; use the PROTO_ITEM_SET_GENERATED() macro.
    
    Change-Id: I013ce7c50a5360802ffd81fbfbec4e559dbd0eb0
    Reviewed-on: https://code.wireshark.org/review/37127
    Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
    

Actions performed:

    from  2febe85   MIME/pcapng: use snap length to get SPB data length
     add  28281a7   pcapng: fix build in older releases.


Summary of changes:
 epan/dissectors/file-pcapng.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)