wireshark/ui
Martin Kaiser 55733ea170 fix scan_local_interfaces()
when we delete an interface from all_ifaces, delete it from ifaces as well
remove its selected status if it was selected

at the moment, an interface that was used for capturing before will
never be removed from the list of interfaces even if it becomes
unavailable as it remains in ifaces and will be re-added to all_ifaces
in scan_local_interfaces()

new helper function capture_opts_del_iface() to delete an entry from ifaces and
free all its components

Change-Id: Ie3271a7ed086367e511d3a971f3b68cfc014115d
Reviewed-on: https://code.wireshark.org/review/2965
Reviewed-by: Evan Huus <eapache@gmail.com>
2014-07-12 14:06:03 +00:00
..
cli isprint() -> g_ascii_isprint() 2014-05-13 16:14:07 +00:00
gtk GTK Remote Capturing 2014-07-11 04:29:46 +00:00
qt Add plumbing for stat commands ("-z ..."). 2014-07-11 20:52:10 +00:00
win32 Revert "Allow wtap_read() and wtap_seek_read() to return non-packet records." 2014-05-23 10:50:10 +00:00
CMakeLists.txt Reflect the move of filters.c to libui. 2014-06-30 23:20:29 +00:00
Makefile.am Support out-of-source checkapi 2014-04-25 04:23:46 +00:00
Makefile.common Rename and move ui/stat_menu.h to epan/stat_groups.h. 2014-07-03 20:30:42 +00:00
Makefile.nmake Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
alert_box.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
alert_box.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
capture.c Move utility routines for capturing into a libcaputils static library. 2014-07-04 07:25:26 +00:00
capture.h Move capture.[ch] to libui. 2014-06-30 05:38:57 +00:00
capture_globals.h Move capture_session.h to capchild; what it declares is defined there. 2014-06-30 05:09:31 +00:00
capture_ui_utils.c Move utility routines for capturing into a libcaputils static library. 2014-07-04 07:25:26 +00:00
capture_ui_utils.h Make a routine unused outside capture_ui_utils.c static. 2014-06-30 05:30:13 +00:00
decode_as_utils.c Get rid of more tvb_get_nstringz* calls. 2014-04-12 22:27:22 +00:00
decode_as_utils.h Fix warning when generate documentation (doxygen) 2014-04-14 20:28:34 +00:00
doxygen.cfg.in Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
export_object.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
export_object.h Add Object (file) export for files transferred over TFTP. 2014-06-05 18:00:49 +00:00
export_object_dicom.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
export_object_http.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
export_object_smb.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
export_object_tftp.c Add Object (file) export for files transferred over TFTP. 2014-06-05 18:00:49 +00:00
file_dialog.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
filters.c Get rid of trailing blank line. 2014-06-30 21:50:00 +00:00
filters.h Move filters.[ch] to libui. 2014-06-30 21:47:58 +00:00
follow.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
follow.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
help_url.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
help_url.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
iface_lists.c fix scan_local_interfaces() 2014-07-12 14:06:03 +00:00
iface_lists.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
io_graph_item.c Add a Qt I/O Graph dialog. 2014-04-07 20:56:42 +00:00
io_graph_item.h Strip some trailing whitespace; Fix some indentation; Add editor-modelines as needed. 2014-07-11 03:20:54 +00:00
last_open_dir.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
main_statusbar.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet_list_utils.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet_list_utils.h Fix warning when generate documentation (doxygen) 2014-04-14 20:20:38 +00:00
persfilepath_opt.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
persfilepath_opt.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
preference_utils.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
preference_utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
profile.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
profile.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
progress_dlg.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
proto_hier_stats.c Move proto_hier_stats.[ch] to libui. 2014-06-30 21:08:53 +00:00
proto_hier_stats.h Move proto_hier_stats.[ch] to libui. 2014-06-30 21:08:53 +00:00
recent.c Try to fix the build. 2014-07-11 07:36:05 +00:00
recent.h Try to fix the build. 2014-07-11 07:36:05 +00:00
recent_utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
rtp_analysis.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
rtp_stream.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
simple_dialog.h Use G_GNUC_PRINTF() for simple_message_box(). 2014-07-01 20:39:51 +00:00
software_update.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
software_update.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ssl_key_export.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ssl_key_export.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-megaco-common.c Rename and move ui/stat_menu.h to epan/stat_groups.h. 2014-07-03 20:30:42 +00:00
tap-megaco-common.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-rtp-common.c Some routine name changes. 2014-04-19 19:07:06 +00:00
tap-rtp-common.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-sctp-analysis.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-sctp-analysis.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-sequence-analysis.c Fix missing g_list_next() with GLib < 2.32 2014-06-28 23:23:22 +00:00
tap-sequence-analysis.h Use GQueue for generating statistics 2014-06-27 08:55:11 +00:00
tap-tcp-stream.c Add support for dissecting non-packet records. 2014-05-25 00:05:07 +00:00
tap-tcp-stream.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap_export_pdu.c Add a routine to return a version string including VCS information. 2014-06-22 01:06:25 +00:00
tap_export_pdu.h Revert "Refactor Wiretap" 2014-05-09 05:21:01 +00:00
text_import.c Clean up handling of missing functions. 2014-07-06 21:03:09 +00:00
text_import.h Revert "Refactor Wiretap" 2014-05-09 05:21:01 +00:00
text_import_scanner.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
text_import_scanner.l Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
time_shift.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
time_shift.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ui_util.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
utf8_entities.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
util.c Fix crash on invalid SSH_CONNECTION and SSH_CLIENT values 2014-04-15 19:40:09 +00:00
util.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00