Changeset 9f61296 for lib/trace.c
- Timestamp:
- 03/03/05 14:27:40 (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:
- bfba808
- Parents:
- b40d8d5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/trace.c
r00c1935 r9f61296 661 661 if (libtrace->format == PCAP || libtrace->format == PCAPINT) { 662 662 if ((pcappkt = pcap_next(libtrace->input.pcap, &pcaphdr)) == NULL) { 663 return -1;663 return 0; 664 664 } 665 665 memcpy(buffer,&pcaphdr,sizeof(struct pcap_pkthdr));
Note: See TracChangeset
for help on using the changeset viewer.