Changeset e17bad6
- Timestamp:
- 06/30/18 23:18:21 (3 years ago)
- Branches:
- cachetimestamps, develop, master, rc-4.0.4, ringdecrementfix, ringperformance
- Children:
- fc6def2
- Parents:
- c171463
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_pcapng.c
rc171463 re17bad6 730 730 to_read = byteswap32(hdr->blocklen) - sizeof(pcapng_custom_t); 731 731 } else { 732 assert(hdr->blocktype == PCAPNG_ NAME_RESOLUTION_TYPE ||732 assert(hdr->blocktype == PCAPNG_CUSTOM_TYPE || 733 733 hdr->blocktype == PCAPNG_CUSTOM_NONCOPY_TYPE); 734 734 to_read = hdr->blocklen - sizeof(pcapng_custom_t); … … 827 827 if (optval == NULL) { 828 828 trace_set_err(libtrace, TRACE_ERR_BAD_PACKET, 829 "Failed to read options for pcapng enhanced packet");829 "Failed to read options for pcapng interface stats"); 830 830 return -1; 831 831 } … … 1078 1078 } 1079 1079 1080 // Warning: the byteorder might not be set yet, the section header sets this 1080 1081 if (DATA(libtrace)->byteswapped) { 1081 1082 btype = byteswap32(peeker.blocktype);
Note: See TracChangeset
for help on using the changeset viewer.