Changeset 39aa3c7


Ignore:
Timestamp:
09/05/07 14:08:01 (14 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
a5908d2
Parents:
34e22d1
Message:

Correct direction report (how embarrassing!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracereport/dir_report.c

    rcbce651 r39aa3c7  
    3131                        continue;
    3232                switch(i) {
    33                         case 0: fprintf(out, "%20s:\t%12" PRIu64 "\t%12" PRIu64 "\n",
     33                        case TRACE_DIR_INCOMING: fprintf(out, "%20s:\t%12" PRIu64 "\t%12" PRIu64 "\n",
    3434                                        "Incoming",dir_bytes[i],dir_packets[i]);
    3535                                break;
    36                         case 1: fprintf(out, "%20s:\t%12" PRIu64 "\t%12" PRIu64 "\n",
     36                        case TRACE_DIR_OUTGOING: fprintf(out, "%20s:\t%12" PRIu64 "\t%12" PRIu64 "\n",
    3737                                        "Outgoing",dir_bytes[i],dir_packets[i]);
     38                                break;
     39                        case TRACE_DIR_OTHER: fprintf(out, "%20s:\t%12" PRIu64 "\t%12" PRIu64 "\n",
     40                                        "Other",dir_bytes[i],dir_packets[i]);
    3841                                break;
    3942                        default: fprintf(out, "%20i:\t%12" PRIu64 "\t%12" PRIu64 "\n",
Note: See TracChangeset for help on using the changeset viewer.