Ignore:
Timestamp:
06/19/07 14:31:46 (14 years ago)
Author:
Perry Lorier <perry@…>
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
Message:

Do a better job and describing the ethertype

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/link_2.c

    r4f55f69 rf2f3327  
    2727        if (len>=14) {
    2828                uint16_t type = htons(*(uint16_t*)(packet+12));
    29                 printf(" Ethertype: %04x\n",type);
     29                printf(" Ethertype: 0x%04x\n",type);
    3030                decode_next(packet+14,len-14,"eth",type);
    3131        }
Note: See TracChangeset for help on using the changeset viewer.