Changeset e7307f9
- Timestamp:
- 10/05/09 14:30:03 (13 years ago)
- 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:
- f0fa090
- Parents:
- 2e6f811
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/tracetop/tracetop.cc
rc9754d0 re7307f9 164 164 flowkey.dip.ss_family = AF_UNSPEC; 165 165 if (use_protocol && trace_get_transport(packet,&flowkey.protocol, NULL) == NULL) 166 flowkey.protocol = 0;166 flowkey.protocol = 255; 167 167 if (use_sport) flowkey.sport = trace_get_source_port(packet); 168 168 if (use_dport) flowkey.dport = trace_get_destination_port(packet); … … 229 229 } 230 230 if (use_sport) 231 printw("% d\t", "sport");231 printw("%s\t", "sport"); 232 232 if (use_dip) { 233 233 printw("%20s", "dest ip"); … … 238 238 } 239 239 if (use_dport) 240 printw("% d\t", "dport");240 printw("%s\t", "dport"); 241 241 if (use_protocol) 242 242 printw("proto\t");
Note: See TracChangeset
for help on using the changeset viewer.