Changeset 34cab5b


Ignore:
Timestamp:
11/09/09 11:54:19 (11 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:
c549d3f
Parents:
eade363
Message:

Understand ARPHRD_NONE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/linktypes.c

    r7157db8 r34cab5b  
    2222#ifndef ARPHRD_IEEE80211
    2323#define ARPHRD_IEEE80211        801
     24#endif
     25
     26#ifndef ARPHRD_NONE
     27#define ARPHRD_NONE     0xFFFE
    2428#endif
    2529
     
    165169                case ARPHRD_80211_RADIOTAP: return TRACE_TYPE_80211_RADIO;
    166170                case ARPHRD_PPP: return TRACE_TYPE_NONE;
     171                case ARPHRD_NONE: return TRACE_TYPE_NONE;
    167172        }
    168173        printf("Unknown ARPHRD %08x\n",arphrd);
Note: See TracChangeset for help on using the changeset viewer.