Changeset 879
- Timestamp:
- 06/23/06 12:02:36 (7 years ago)
- File:
-
- 1 edited
-
trunk/lib/protocols.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/protocols.c
r861 r879 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.
