Changeset 97e39a7 for lib/linktypes.c


Ignore:
Timestamp:
04/14/06 14:13:07 (15 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:
566e404
Parents:
6b0560b
Message:

Port new linux native capture type from libtrace 2.
Fail if we try and decode a pcap link type and we don't have pcap installed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/linktypes.c

    r751531a r97e39a7  
    11#include "libtrace.h"
     2#include "config.h"
    23#ifdef HAVE_PCAP
    34#include <pcap.h>
     
    2829                case DLT_PFLOG: return TRACE_TYPE_PFLOG;
    2930#endif
     31#else
     32                default:
     33                                assert(!"No pcap support");
    3034#endif
    3135        }
Note: See TracChangeset for help on using the changeset viewer.