Wireshark-commits: [Wireshark-commits] master-2.6 8b88051: pcapng: fix build in older releases.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 04 May 2020 19:20:22 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8b88051e69a7c230c46ac57bdf67081fda6c8b0b
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

8b88051 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>
    (cherry picked from commit b396a29b2ea38a1e701f157278c723cb518ddad9)
    Reviewed-on: https://code.wireshark.org/review/37128
    

Actions performed:

    from  ebce737   MIME/pcapng: use snap length to get SPB data length
     add  8b88051   pcapng: fix build in older releases.


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