- Timestamp:
- 06/23/06 12:02:36 (16 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:
- 575c531
- Parents:
- 45dfddc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/protocols.c
r77b3217 r873558d 87 87 return NULL; 88 88 89 eth=(libtrace_802_11_payload_t *)((char*)wifi+sizeof(* eth));90 91 if ( *type) *type=eth->type;89 eth=(libtrace_802_11_payload_t *)((char*)wifi+sizeof(*wifi)); 90 91 if (type) *type=eth->type; 92 92 93 93 return eth; … … 141 141 llc = (libtrace_llcsnap_t*)((char *)llc + 4); 142 142 143 if ( *type) *type = ntohs(llc->type);143 if (type) *type = ntohs(llc->type); 144 144 145 145 return (void*)((char*)llc+sizeof(*llc));
Note: See TracChangeset
for help on using the changeset viewer.