Wireshark-commits: [Wireshark-commits] master 9c53ac0: extcap: Lazily load our	interface list.
      
      
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9c53ac018759f6fca092d8aa8411aa9f9411950c
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
9c53ac0 by Gerald Combs (gerald@xxxxxxxxxxxxx):
    extcap: Lazily load our interface list.
    
    Add extcap_ensure_all_interfaces_loaded, which calls
    extcap_load_interface_list if our interface list is empty. Call it in
    each of our public functions that require a valid interface list.
    
    Clean up the extcap API documentation and note which routines initialize
    the interface list.
    
    In tshark, don't unconditionally call extcap_register_preferences and
    instead rely on lazy loading.
    
    Change-Id: I8493ae5f4d703b0fd767246557d17723bcf207c6
    Ping-Bug: 15295
    Reviewed-on: https://code.wireshark.org/review/37750
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    
Actions performed:
    from  4537864   TDS: Fix field abbrev for RPC name
     add  9c53ac0   extcap: Lazily load our interface list.
Summary of changes:
 extcap.c |  63 ++++++++++++++++++++++------------
 extcap.h | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 tshark.c |   2 +-
 3 files changed, 143 insertions(+), 38 deletions(-)