diff options
-rw-r--r-- | ui/gtk/capture_dlg.c | 4 | ||||
-rw-r--r-- | ui/gtk/main.c | 2 | ||||
-rw-r--r-- | ui/gtk/prefs_capture.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ui/gtk/capture_dlg.c b/ui/gtk/capture_dlg.c index 1ac27b3ead..3c4716de63 100644 --- a/ui/gtk/capture_dlg.c +++ b/ui/gtk/capture_dlg.c @@ -1276,7 +1276,7 @@ insert_new_rows(GList *list) } device.cfilter = g_strdup(global_capture_opts.default_options.cfilter); monitor_mode = prefs_capture_device_monitor_mode(if_string); - caps = capture_get_if_capabilities(if_string, monitor_mode, NULL); + caps = capture_get_if_capabilities(if_string, monitor_mode, NULL,main_window_update); gtk_list_store_append (GTK_LIST_STORE(model), &iter); for (; (curr_addr = g_slist_nth(if_info->addrs, ips)) != NULL; ips++) { if (ips != 0) { @@ -1407,7 +1407,7 @@ update_interface_list(void) if_list = if_r_list; } else { - if_list = capture_interface_list(&err, &err_str); /* Warning: see capture_prep_cb() */ + if_list = capture_interface_list(&err, &err_str, main_window_update); /* Warning: see capture_prep_cb() */ g_object_set_data(G_OBJECT(cap_open_w), E_CAP_IF_LIST_KEY, NULL); } diff --git a/ui/gtk/main.c b/ui/gtk/main.c index 49d7c0db87..a6fa73f5b7 100644 --- a/ui/gtk/main.c +++ b/ui/gtk/main.c @@ -2872,7 +2872,7 @@ main(int argc, char *argv[]) #if defined(HAVE_PCAP_CREATE) caps = capture_get_if_capabilities(device.name, device.monitor_mode_supported, &err_str, main_window_update); #else - caps = capture_get_if_capabilities(device.name, FALSE, &err_str); + caps = capture_get_if_capabilities(device.name, FALSE, &err_str,main_window_update); #endif if (caps == NULL) { cmdarg_err("%s", err_str); diff --git a/ui/gtk/prefs_capture.c b/ui/gtk/prefs_capture.c index 010984c6e6..bf1ffed455 100644 --- a/ui/gtk/prefs_capture.c +++ b/ui/gtk/prefs_capture.c @@ -1624,7 +1624,7 @@ ifopts_options_add(GtkListStore *list_store, if_info_t *if_info) caps = capture_get_if_capabilities(if_info->name, monitor_mode, NULL, main_window_update); #else /* no monitor-mode support */ - caps = capture_get_if_capabilities(if_info->name, FALSE, NULL); + caps = capture_get_if_capabilities(if_info->name, FALSE, NULL, main_window_update); #endif /* set default link-layer header type */ |