head 1.2; access; symbols; locks; strict; comment @// @; 1.2 date 2016.03.03.13.33.50; author wiz; state dead; branches; next 1.1; commitid tx58BNiPf4tSscXy; 1.1 date 2016.01.02.23.59.02; author ryoon; state Exp; branches; next ; commitid y7glqrMSIN3YSpPy; desc @@ 1.2 log @Remove wireshark2, moved to wireshark. @ text @$NetBSD: patch-ui_qt_mtp3__summary__dialog.cpp,v 1.1 2016/01/02 23:59:02 ryoon Exp $ --- ui/qt/mtp3_summary_dialog.cpp.orig 2015-12-29 21:49:23.000000000 +0000 +++ ui/qt/mtp3_summary_dialog.cpp @@@@ -208,7 +208,7 @@@@ QString Mtp3SummaryDialog::summaryToHtml << table_hheader15_tmpl.arg(tr("Bytes/s")) << table_row_end; - for (size_t si_code = 0; si_code < MTP3_NUM_SI_CODE; si_code++) { + for (size_t ws_si_code = 0; ws_si_code < MTP3_NUM_SI_CODE; ws_si_code++) { int si_msus = 0; int si_bytes = 0; QString msus_s_str = n_a; @@@@ -216,8 +216,8 @@@@ QString Mtp3SummaryDialog::summaryToHtml QString bytes_s_str = n_a; for (size_t stat_idx = 0; stat_idx < mtp3_num_used; stat_idx++) { - si_msus += mtp3_stat[stat_idx].mtp3_si_code[si_code].num_msus; - si_bytes += mtp3_stat[stat_idx].mtp3_si_code[si_code].size; + si_msus += mtp3_stat[stat_idx].mtp3_si_code[ws_si_code].num_msus; + si_bytes += mtp3_stat[stat_idx].mtp3_si_code[ws_si_code].size; } total_msus += si_msus; total_bytes += si_bytes; @@@@ -232,7 +232,7 @@@@ QString Mtp3SummaryDialog::summaryToHtml } out << table_row_begin - << table_data_tmpl.arg(mtp3_service_indicator_code_short_vals[si_code].strptr) + << table_data_tmpl.arg(mtp3_service_indicator_code_short_vals[ws_si_code].strptr) << table_data_tmpl.arg(si_msus) << table_data_tmpl.arg(msus_s_str) << table_data_tmpl.arg(si_bytes) @ 1.1 log @Import wireshark-2.0.1 as net/wireshark2. Wireshark is a network traffic analyzer, or "sniffer", for Unix and Unix-like operating systems. It uses GTK+, a graphical user interface library, and libpcap, a packet capture and filtering library. The Wireshark distribution also comes with TShark, which is a line-oriented sniffer (similar to Sun's snoop, or tcpdump) that uses the same dissection, capture-file reading and writing, and packet filtering code as Wireshark, and with editcap, which is a program to read capture files and write the packets from that capture file, possibly in a different capture file format, and with some packets possibly removed from the capture. This package tracks version 2 stable branch. @ text @d1 1 a1 1 $NetBSD$ @