Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master 35b4487: Handle empty interface lists when the list c

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 25 Jul 2014 03:00:45 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=35b4487538dc88a5687c5e3a99c8c70c099fdfa8
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

35b4487 by Guy Harris (guy@xxxxxxxxxxxx):

    Handle empty interface lists when the list changes.
    
    Don't assume that a change to the interface list is from a non-empty
    interface list to a different non-empty interface list.
    
    Change-Id: I94054ca0cf2661704aff1869385aa2155c19677d
    Reviewed-on: https://code.wireshark.org/review/3193
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  0501465   Fixing a bug in add_ff_action_public_fields(), by removing the start argument and defining it inside the function.
    adds  35b4487   Handle empty interface lists when the list changes.


Summary of changes:
 capture_opts.h           |   12 +++--
 ui/iface_lists.c         |    7 ++-
 ui/qt/interface_tree.cpp |  126 +++++++++++++++++-----------------------------
 ui/qt/interface_tree.h   |    1 +
 4 files changed, 61 insertions(+), 85 deletions(-)