Wireshark-commits: [Wireshark-commits] master-2.6 b873bdd: Fix error message for an unknown pcapng

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

Commits:

b873bdd 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 d6472862c5a21b82986fd6f56730c49a886fe2f5)
    Reviewed-on: https://code.wireshark.org/review/33673
    

Actions performed:

    from  5cf5bee   sshdump: fix bug in --remote-sudo.
     add  b873bdd   Fix error message for an unknown pcapng version number.


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