diff options
Diffstat (limited to 'ui/qt/capture_file_properties_dialog.cpp')
-rw-r--r-- | ui/qt/capture_file_properties_dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/capture_file_properties_dialog.cpp b/ui/qt/capture_file_properties_dialog.cpp index ec7229e47b..270beb7e8e 100644 --- a/ui/qt/capture_file_properties_dialog.cpp +++ b/ui/qt/capture_file_properties_dialog.cpp @@ -190,10 +190,10 @@ QString CaptureFilePropertiesDialog::summaryToHtml() if (summary.file_encap_type == WTAP_ENCAP_PER_PACKET) { for (guint i = 0; i < summary.packet_encap_types->len; i++) { - encaps_str = QString(wtap_encap_string(g_array_index(summary.packet_encap_types, int, i))); + encaps_str = QString(wtap_encap_description(g_array_index(summary.packet_encap_types, int, i))); } } else { - encaps_str = QString(wtap_encap_string(summary.file_encap_type)); + encaps_str = QString(wtap_encap_description(summary.file_encap_type)); } out << table_row_begin << table_vheader_tmpl.arg(tr("Encapsulation")) @@ -346,7 +346,7 @@ QString CaptureFilePropertiesDialog::summaryToHtml() << table_data_tmpl.arg(interface_name) << table_data_tmpl.arg(interface_drops) << table_data_tmpl.arg(interface_cfilter) - << table_data_tmpl.arg(wtap_encap_string(iface.encap_type)) + << table_data_tmpl.arg(wtap_encap_description(iface.encap_type)) << table_data_tmpl.arg(interface_snaplen) << table_row_end; |