- Timestamp:
- 05/05/10 14:56:42 (12 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:
- 28318a4
- Parents:
- 325f86f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_legacy.c
r7fc0eaa2 r997614d 405 405 406 406 static int legacyeth_get_wire_length(const libtrace_packet_t *packet) { 407 legacy_ether_t *leth = (legacy_ether_t *)packet->header; 408 return leth->wlen ;407 legacy_ether_t *leth = (legacy_ether_t *)packet->header; 408 return leth->wlen+4; /* +4 for FCS, wirelen is in little endian sigh. */ 409 409 } 410 410
Note: See TracChangeset
for help on using the changeset viewer.