Changeset f2f3327 for libpacketdump
- Timestamp:
- 06/19/07 14:31:46 (14 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:
- f93f0b3
- Parents:
- 278849f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpacketdump/link_2.c
r4f55f69 rf2f3327 27 27 if (len>=14) { 28 28 uint16_t type = htons(*(uint16_t*)(packet+12)); 29 printf(" Ethertype: %04x\n",type);29 printf(" Ethertype: 0x%04x\n",type); 30 30 decode_next(packet+14,len-14,"eth",type); 31 31 }
Note: See TracChangeset
for help on using the changeset viewer.