Changeset 2d69532 for lib


Ignore:
Timestamp:
12/10/09 13:44:38 (12 years ago)
Author:
Shane Alcock <salcock@…>
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:
5778738
Parents:
f38ba3c
Message:
  • Prevent annoying error message for LCP packets which are not uncommon in certain traces, e.g. Leipzig
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/protocols_l2.c

    r1311310 r2d69532  
    230230                                *type = TRACE_ETHERTYPE_IP;
    231231                                break;
     232                        case 0xc021: /* Link Control Protocol */
     233                                *type = 0; /* No ethertype for this */
     234                                break;
     235
    232236                        default:
    233237                                printf("Unknown chdlc type: %04x\n",ntohs(chdlc->ethertype));
Note: See TracChangeset for help on using the changeset viewer.