Changeset de3d203
- Timestamp:
- 04/08/08 15:34:42 (14 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:
- cdcaef6
- Parents:
- 8a0e6e8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/trace.c
rf0fb38f rde3d203 729 729 } 730 730 731 /* Clear the packet cache */732 packet->capture_length = -1;733 packet->l3_header = NULL;734 packet->l3_ethertype = 0;735 731 736 732 if (libtrace->format->read_packet) { 737 733 do { 738 734 size_t ret; 735 /* Clear the packet cache */ 736 packet->capture_length = -1; 737 packet->l3_header = NULL; 738 packet->l3_ethertype = 0; 739 739 740 ret=libtrace->format->read_packet(libtrace,packet); 740 741 if (ret==(size_t)-1 || ret==0) {
Note: See TracChangeset
for help on using the changeset viewer.