Changeset bd6869b
- Timestamp:
- 05/31/06 23:43:18 (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:
- ebe0c7f
- Parents:
- 889ddc3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpacketdump/link_4.cc
r4e65f42 rbd6869b 43 43 printf(" %s",trace_ether_ntoa((uint8_t*)(hdr->mac3), ether_buf)); 44 44 45 struct ieee_802_11_payload *pld = (struct ieee_802_11_payload *) (( int)packet + sizeof(struct ieee_802_11_header) - 2);45 struct ieee_802_11_payload *pld = (struct ieee_802_11_payload *) ((char*)packet + sizeof(struct ieee_802_11_header) - 2); 46 46 uint16_t type = htons(pld->type); 47 47 printf(" %04x\n",type);
Note: See TracChangeset
for help on using the changeset viewer.