Changeset e99ba00 for tools/tracetop
- Timestamp:
- 03/11/13 13:40:51 (9 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:
- 91283e8
- Parents:
- c7c10de
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/tracetop/tracetop.cc
rc7c10de re99ba00 330 330 printw("%s\t", "dport"); 331 331 if (use_protocol) 332 printw(" proto\t");332 printw("%10s\t", "proto"); 333 333 switch(display_as) { 334 334 case BYTES: … … 395 395 struct protoent *proto = getprotobynumber(pq.top().protocol); 396 396 if (proto) 397 printw("%- 5s\t", proto->p_name);397 printw("%-10s\t", proto->p_name); 398 398 else 399 printw("% 5d\t",pq.top().protocol);399 printw("%10d\t",pq.top().protocol); 400 400 } 401 401 switch (display_as) {
Note: See TracChangeset
for help on using the changeset viewer.