Wireshark-commits: [Wireshark-commits] master-1.10 5f4df36: Rename update_interface_list() and remo
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 21 Mar 2015 10:26:51 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5f4df36c5958a5ddd2d31ca2c828331ce321efde
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

5f4df36 by Guy Harris (guy@xxxxxxxxxxxx):

    Rename update_interface_list() and remove local interface code from it.
    
    It's only used to update the remote interface list, and never updates
    anything else (it sets iftype_id to CAPTURE_IFREMOTE and never changes
    it, so all tests for whether iftype_id is == or >= CAPTURE_IFREMOTE
    succeed); remove the code that would be executed if, somehow, iftype_id
    got stomped on, and rename it to update_remote_interface_list().
    
    Change-Id: I839757218bc5d9ebcce1b5e229f5ac5069bebb0c
    Reviewed-on: https://code.wireshark.org/review/7776
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  ad98745   Don't say "Capturing on..." if we're not capturing on.
    adds  5f4df36   Rename update_interface_list() and remove local interface code from it.


Summary of changes:
 ui/gtk/capture_dlg.c |   40 +++++++++++++++-------------------------
 1 file changed, 15 insertions(+), 25 deletions(-)