Changeset 0c9681f
- Timestamp:
- 11/15/05 10:11:45 (17 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:
- de99828
- Parents:
- f9374e9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/tracedump/tracedump.cc
r37dc1fb r0c9681f 66 66 67 67 while(trace_read_packet(trace,&packet)> 0 ){ 68 time_t sec = (time_t)trace_get_seconds(&packet);69 68 if (filter && !trace_bpf_filter(filter,&packet)) 70 69 continue; 71 70 72 printf("%s",ctime(&sec));73 71 trace_dump_packet(&packet); 74 72 if(count) { … … 79 77 } 80 78 79 printf("\n"); 81 80 trace_destroy(trace); 82 81 optind ++;
Note: See TracChangeset
for help on using the changeset viewer.