forked from osmocom/wireshark
bugfix: call to cf_cb_live_capture_..._started with correct parameter
svn path=/trunk/; revision=14045
This commit is contained in:
parent
163f2b61a8
commit
5625c461d0
|
@ -222,9 +222,9 @@ capture_input_new_file(capture_options *capture_opts, gchar *new_file)
|
|||
break;
|
||||
}
|
||||
|
||||
cf_callback_invoke(cf_cb_live_capture_update_started, capture_opts->cf);
|
||||
cf_callback_invoke(cf_cb_live_capture_update_started, capture_opts);
|
||||
} else {
|
||||
cf_callback_invoke(cf_cb_live_capture_fixed_started, capture_opts->cf);
|
||||
cf_callback_invoke(cf_cb_live_capture_fixed_started, capture_opts);
|
||||
}
|
||||
|
||||
|
||||
|
|
12
gtk/main.c
12
gtk/main.c
|
@ -1306,11 +1306,7 @@ main_cf_cb_live_capture_update_started(capture_options *capture_opts)
|
|||
packets (yes, I know, we don't have any *yet*). */
|
||||
set_menus_for_captured_packets(TRUE);
|
||||
|
||||
if(capture_opts->iface) {
|
||||
capture_msg = g_strdup_printf(" %s: <live capture in progress>", get_interface_descriptive_name(capture_opts->iface));
|
||||
} else {
|
||||
capture_msg = g_strdup_printf(" <live capture in progress>");
|
||||
}
|
||||
capture_msg = g_strdup_printf(" %s: <live capture in progress>", get_interface_descriptive_name(capture_opts->iface));
|
||||
|
||||
statusbar_push_file_msg(capture_msg);
|
||||
|
||||
|
@ -1333,11 +1329,7 @@ main_cf_cb_live_capture_fixed_started(capture_options *capture_opts)
|
|||
packets (yes, I know, we don't have any *yet*). */
|
||||
/*set_menus_for_captured_packets(TRUE);*/
|
||||
|
||||
if(capture_opts->iface) {
|
||||
capture_msg = g_strdup_printf(" %s: <live capture in progress>", get_interface_descriptive_name(capture_opts->iface));
|
||||
} else {
|
||||
capture_msg = g_strdup_printf(" <live capture in progress>");
|
||||
}
|
||||
capture_msg = g_strdup_printf(" %s: <live capture in progress>", get_interface_descriptive_name(capture_opts->iface));
|
||||
|
||||
statusbar_push_file_msg(capture_msg);
|
||||
|
||||
|
|
Loading…
Reference in New Issue