Wireshark-commits: [Wireshark-commits] master-3.0 2e7818e: Fix error message for an unknown pcapng

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 19 Jun 2019 23:58:49 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2e7818e243f12460805113a8a111dddc85ad8b5f
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark

Commits:

2e7818e by Guy Harris (guy@xxxxxxxxxxxx):

    Fix error message for an unknown pcapng version number.
    
    We were using fields in the pcapng_t that weren't set yet to report the
    version number in question; use the variables we were checking.
    
    Change-Id: Ib03bafe62d8c7b1aa54b2ef22640e3b00722142a
    Ping-Bug: 15862
    Reviewed-on: https://code.wireshark.org/review/33671
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 8feb4ec439dee42f3e76db113169cf0e32a6782b)
    Reviewed-on: https://code.wireshark.org/review/33672
    

Actions performed:

    from  40f18bb   Tools: Add a "last n commits" option to cppcheck.sh.
     add  2e7818e   Fix error message for an unknown pcapng version number.


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