Wireshark-commits: [Wireshark-commits] master 842a9b5: Replace extcap_interface_list() with append_
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 27 Feb 2016 01:04:45 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=842a9b510074c896e54735e2e3a575ea802f23ea
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

842a9b5 by Guy Harris (guy@xxxxxxxxxxxx):

    Replace extcap_interface_list() with append_extcap_interface_list().
    
    Pull the "rebuild the list of extcap interfaces and, optionally, return
    a list of if_infos for them" into a separate
    extcap_reload_interface_list() routine, call it in the cases where we
    don't want the if_infos list, and have append_extcap_interface_list()
    call it, asking it for the if_infos list, and then append the interfaces
    to that list.
    
    Change-Id: I07478ab133859484b3e0916144971639f961224b
    Reviewed-on: https://code.wireshark.org/review/14189
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  60f87ca   Put the extcap interfaces at the *end* of the interface list.
    adds  842a9b5   Replace extcap_interface_list() with append_extcap_interface_list().


Summary of changes:
 capchild/capture_ifinfo.c |    2 +-
 extcap.c                  |   75 ++++++++++++++++++++++++---------------------
 extcap.h                  |    4 +--
 3 files changed, 43 insertions(+), 38 deletions(-)