Wireshark-commits: [Wireshark-commits] master-2.0 f1c505d: Make sure caps->data_link_types is initi

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 22 Feb 2017 04:21:00 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f1c505d45b8ec2c878ef5ba8ce6c5c27d2926132
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

f1c505d by Guy Harris (guy@xxxxxxxxxxxx):

    Make sure caps->data_link_types is initialized.
    
    It wasn't getting initialized in the "we don't have
    pcap_list_datalinks()" path, but was getting appended to.
    
    Bug: 13418
    Change-Id: I052170b58a15a43a18ad30c3e1c741bd815e439e
    Reviewed-on: https://code.wireshark.org/review/20244
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  3f8b0af   Don't use identical log messages for non-identical error cases.
    adds  f1c505d   Make sure caps->data_link_types is initialized.


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