wireshark/ui
Mikael Kanstrup 74747489ac qt: Refresh local interface list only when interfaces added/removed
Whenever data is received on the iface monitor socket the list of
local network interfaces is refreshed. No check whether an interface
is really added/removed is done. Changes to network interface options
like promiscous mode flag generate traffic on the iface monitor socket
that not necessarily mean an interface was brought up or down resulting
in an unwanted refresh of local interfaces.

When local interfaces are refreshed selected capture interface(s) get
deselected. This in turn makes "Restart current capture" fail with a no
capture interface selected error.

Fixed by moving the refresh action from socket monitor callback to iface
monitor callback where interface up/down status is known.

Bug: 11834
Change-Id: Iffd39c3240049880b5a8311bc6484f3d1433f387
Reviewed-on: https://code.wireshark.org/review/12317
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-12-03 19:44:35 +00:00
..
cli Make address_to_display() use proper (non-)constness 2015-11-29 00:25:11 +00:00
gtk Fix address hashing broken in g4f39c60 2015-12-03 02:00:18 +00:00
qt qt: Refresh local interface list only when interfaces added/removed 2015-12-03 19:44:35 +00:00
win32 Misc minor issues caught by cppcheck 2015-11-17 04:18:37 +00:00
CMakeLists.txt CMakeList.txt (ui/gtk/qt) fix indent and modelines 2015-11-17 22:50:31 +00:00
Makefile.am
Makefile.common LTE RLC graphs - initial version 2015-10-11 21:59:45 +00:00
Makefile.nmake
alert_box.c
alert_box.h
capture.c Clean up includes of unistd.h, fcntl.h, and sys/stat.h. 2015-11-07 21:52:23 +00:00
capture.h
capture_globals.h
capture_ui_utils.c Qt: Use uniform interface display name 2015-12-02 09:57:35 +00:00
capture_ui_utils.h Qt: Use uniform interface display name 2015-12-02 09:57:35 +00:00
console.c (Trivial) Fix printf-related 'Mismatch on sign' warnings 2015-02-09 18:57:14 +00:00
console.h
decode_as_utils.c
decode_as_utils.h
doxygen.cfg.in
export_object.c Clean up includes of unistd.h, fcntl.h, and sys/stat.h. 2015-11-07 21:52:23 +00:00
export_object.h
export_object_dicom.c
export_object_http.c
export_object_smb.c
export_object_tftp.c
file_dialog.h
filters.c Clean up includes of unistd.h, fcntl.h, and sys/stat.h. 2015-11-07 21:52:23 +00:00
filters.h Qt: Add the capture and display filter dialog. 2015-06-05 19:19:46 +00:00
follow.c
follow.h Qt: add ability to save raw output to follow window 2015-10-16 06:23:52 +00:00
help_url.c Qt: Initial RTP playback. 2015-10-02 18:26:05 +00:00
help_url.h Qt: Initial RTP playback. 2015-10-02 18:26:05 +00:00
iface_lists.c ui: Update interfaces when when changing profile. 2015-12-02 11:33:24 +00:00
iface_lists.h ui: Update interfaces when when changing profile. 2015-12-02 11:33:24 +00:00
io_graph_item.c
io_graph_item.h Make FT_{U}INT64 behave more like FT_{U}INT32, add support for FT_{U}INT{40,48,56} 2015-02-21 16:57:52 +00:00
language.c Misc minor issues caught by cppcheck 2015-11-17 04:18:37 +00:00
language.h
last_open_dir.h
main_statusbar.h
mcast_stream.c Fix crash in UDP Multicast Streams dialog 2015-11-27 21:15:11 +00:00
mcast_stream.h Fix crash in UDP Multicast Streams dialog 2015-11-27 21:15:11 +00:00
packet_list_utils.c Take all epan_column_info members that always get allocated to "number of columns" to share their own data structure. 2015-06-29 02:11:04 +00:00
packet_list_utils.h
persfilepath_opt.c
persfilepath_opt.h
preference_utils.c Plugin Interface: Add GUI callbacks 2015-06-25 16:23:08 +00:00
preference_utils.h Plugin Interface: Add GUI callbacks 2015-06-25 16:23:08 +00:00
profile.c
profile.h
progress_dlg.h
proto_hier_stats.c Qt: Add the Protocol Hierarchy statistics dialog. 2015-02-04 02:06:01 +00:00
proto_hier_stats.h Qt: Add the Protocol Hierarchy statistics dialog. 2015-02-04 02:06:01 +00:00
recent.c Fix various memleaks 2015-10-04 15:45:02 +00:00
recent.h Fix various memleaks 2015-10-04 15:45:02 +00:00
recent_utils.h
rtp_media.c Start moving RTP decoding routines to the ui directory. 2015-09-19 15:02:16 +00:00
rtp_media.h Split RTP player tapping, decoding, and plotting. 2015-10-21 17:52:15 +00:00
rtp_stream.c Clean up includes of unistd.h, fcntl.h, and sys/stat.h. 2015-11-07 21:52:23 +00:00
rtp_stream.h Disable RTP player debug logs that were presumably left activated by mistake 2015-11-01 17:19:42 +00:00
service_response_time.c Squelch a compiler warning. 2015-07-04 02:31:55 +00:00
service_response_time.h Add ServiceResponseTimeDialog. 2015-07-03 23:09:13 +00:00
simple_dialog.h Do error checking on simple_error_message_box() calls and fix errors. 2015-07-04 02:39:18 +00:00
software_update.c
software_update.h
ssl_key_export.c Export CLIENT_RANDOM with Export SSL Session Keys 2015-03-12 16:27:10 +00:00
ssl_key_export.h
tap-iax2-analysis.c Move IAX2 analysis to the ui directory. 2015-09-03 21:48:48 +00:00
tap-iax2-analysis.h Add the IAX2 Analysis dialog. 2015-09-09 21:57:08 +00:00
tap-rlc-graph.c LTE dialogs: tidy up some loose ends 2015-10-20 20:02:44 +00:00
tap-rlc-graph.h LTE dialogs: tidy up some loose ends 2015-10-20 20:02:44 +00:00
tap-rtp-analysis.h Move IAX2 analysis to the ui directory. 2015-09-03 21:48:48 +00:00
tap-rtp-common.c Make address_to_display() use proper (non-)constness 2015-11-29 00:25:11 +00:00
tap-rtp-common.h Add the RTP Stream Analysis dialog. 2015-07-16 00:30:14 +00:00
tap-sctp-analysis.c Use address functions instead of ADDRESS macros in ui. 2015-10-22 11:46:12 +00:00
tap-sctp-analysis.h SCTP I-DATA support 2015-10-05 17:38:08 +00:00
tap-sequence-analysis.c Make address_to_display() use proper (non-)constness 2015-11-29 00:25:11 +00:00
tap-sequence-analysis.h Only store frame number and not a pointer to frame_data structure in seq_analysis_item_t 2015-10-26 23:57:51 +00:00
tap-tcp-stream.c Use address functions instead of ADDRESS macros in ui. 2015-10-22 11:46:12 +00:00
tap-tcp-stream.h
tap_export_pdu.c Add wtap_dump_open_tempfile routines, to write to a temporary file. 2015-11-12 00:59:40 +00:00
tap_export_pdu.h
text_import.c Clean up includes of unistd.h, fcntl.h, and sys/stat.h. 2015-11-07 21:52:23 +00:00
text_import.h
text_import_scanner.h
text_import_scanner.l Don't include io.h in Flex scanners - they're not interactive. 2015-11-06 01:14:31 +00:00
time_shift.c
time_shift.h
traffic_table_ui.c Make address_to_display() use proper (non-)constness 2015-11-29 00:25:11 +00:00
traffic_table_ui.h
ui_util.h Rename wsutil/process.h to wsutil/processes.h to avoid collisions. 2015-06-10 01:56:27 +00:00
util.c Add display_is_remote. 2015-07-16 16:17:33 +00:00
util.h Add display_is_remote. 2015-07-16 16:17:33 +00:00
voip_calls.c VoIP: fix a null dereference when trying to retrieve the time of a T.38 tapped packet 2015-11-24 17:09:35 +00:00
voip_calls.h Fix warnings introduced by "Qt: Initial RTP playback" 2015-10-05 03:21:46 +00:00