Changeset 63f4967
- Timestamp:
- 05/23/06 14:56:48 (15 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:
- d8d1ff7
- Parents:
- 1b95fd0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/protocols.c
r1b95fd0 r63f4967 520 520 DLLEXPORT uint16_t trace_get_destination_port(const libtrace_packet_t *packet) 521 521 { 522 uint32_t remaining; 522 523 struct ports_t *port = 523 524 (struct ports_t*)trace_get_transport((libtrace_packet_t*)packet, 524 NULL, NULL); 525 NULL, &remaining); 526 /* snapped to early */ 527 if (remaining<4) 528 return 0; 525 529 526 530 if (port)
Note: See TracChangeset
for help on using the changeset viewer.