Changeset 48d72f8
- Timestamp:
- 01/04/12 15:35:18 (10 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:
- 29532e3
- Parents:
- 31413f1
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/linktypes.c
r9cc1266 r48d72f8 273 273 ((struct libtrace_pcapfile_pkt_hdr_t*) packet->header)->wirelen+= 274 274 sizeof(libtrace_sll_header_t); 275 trace_clear_cache(packet); 275 276 return; 276 277 } -
lib/protocols_l3.c
ree58d0d r48d72f8 129 129 * don't want that counting as possible payload, e.g. for 130 130 * payload length calculations */ 131 if (*remaining > ntohs(ipptr->ip_len))132 *remaining = ntohs(ipptr->ip_len);131 //if (*remaining > ntohs(ipptr->ip_len)) 132 // *remaining = ntohs(ipptr->ip_len); 133 133 134 134 *remaining-=(ipptr->ip_hl * 4);
Note: See TracChangeset
for help on using the changeset viewer.