Wireshark-commits: [Wireshark-commits] master-1.12 5420bbf: tshark: fix -H option
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 28 Sep 2014 10:43:08 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5420bbf655d035d26e573b1ec5d49bfe22bfc5c3
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

5420bbf by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    tshark: fix -H option
    
    The dump of the address info list must be differed to the end of the processing so as to know which host name was actually used in the capture
    
    Bug: 10507
    Change-Id: I44dbfae918d4ae92f9740c309804c7ff21bb4e1b
    Reviewed-on: https://code.wireshark.org/review/4327
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    (cherry picked from commit a3c4133847d192eba55697caa230f3a5cc14ab4b)
    Reviewed-on: https://code.wireshark.org/review/4337
    

Actions performed:

    from  dcac945   Get rid of g_hash_table_lookup asserts when loading an external host file
    adds  5420bbf   tshark: fix -H option


Summary of changes:
 tshark.c         |   13 ++++++-------
 wiretap/pcapng.c |    6 +++---
 2 files changed, 9 insertions(+), 10 deletions(-)