Changeset 89404f5 for lib/format_linux.c


Ignore:
Timestamp:
05/05/08 10:38:22 (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:
11a7f9c
Parents:
34d1d98
Message:

deal with IP with no L2 captures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux.c

    rcdcaef6 r89404f5  
    5252
    5353#include <assert.h>
     54
     55/* Declared in linux/if_arp.h but not in net/if_arp.h sigh */
     56#ifndef ARPHRD_NONE
     57#define ARPHRD_NONE 0xfffe
     58#endif
    5459
    5560struct tpacket_stats {
     
    473478                        return TRACE_TYPE_80211;
    474479                case ARPHRD_SIT:
     480                case ARPHRD_NONE:
    475481                        return TRACE_TYPE_NONE;
    476482                default: /* shrug, beyond me! */
Note: See TracChangeset for help on using the changeset viewer.