diff options
Diffstat (limited to 'summary.c')
-rw-r--r-- | summary.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -107,7 +107,6 @@ summary_fill_in(capture_file *cf, summary_tally *st) { frame_data *first_frame, *cur_frame; guint32 framenum; - wtap_optionblock_t shb_inf; iface_options iface; guint i; wtapng_iface_descriptions_t* idb_info; @@ -161,20 +160,6 @@ summary_fill_in(capture_file *cf, summary_tally *st) st->drops = cf->drops; st->dfilter = cf->dfilter; - /* Get info from SHB */ - shb_inf = wtap_file_get_shb(cf->wth); - if(shb_inf == NULL){ - st->opt_comment = NULL; - st->shb_hardware = NULL; - st->shb_os = NULL; - st->shb_user_appl = NULL; - }else{ - wtap_optionblock_get_option_string(shb_inf, OPT_COMMENT, &st->opt_comment); - wtap_optionblock_get_option_string(shb_inf, OPT_SHB_HARDWARE, &st->shb_hardware); - wtap_optionblock_get_option_string(shb_inf, OPT_SHB_OS, &st->shb_os); - wtap_optionblock_get_option_string(shb_inf, OPT_SHB_USERAPPL, (char**)&st->shb_user_appl); - } - st->ifaces = g_array_new(FALSE, FALSE, sizeof(iface_options)); idb_info = wtap_file_get_idb_info(cf->wth); for (i = 0; i < idb_info->interface_data->len; i++) { |