Changeset 483abab for tools/tracesplit/tracesplit.c
- Timestamp:
- 08/25/06 10:51:49 (16 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:
- e373992
- Parents:
- ac34f1f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/tracesplit/tracesplit.c
r66caf4b r483abab 182 182 } 183 183 184 /* Some traces we have are padded (usually with 0x00), so 185 * lets sort that out now and truncate them properly 186 */ 187 188 if (trace_get_capture_length(packet) 189 > trace_get_wire_length(packet)) { 190 trace_set_capture_length(packet,trace_get_wire_length(packet)); 191 } 192 184 193 if (trace_write_packet(output,packet)==-1) { 185 194 trace_perror_output(output,"write_packet");
Note: See TracChangeset
for help on using the changeset viewer.