Commit 678e0b13 authored by 's avatar

Automatically adds support for Napatech card to mapi.conf


git-svn-id: file:///home/svn/mapi/trunk@1448 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 50233e20
......@@ -7,6 +7,7 @@ ACLOCAL_AMFLAGS = -I .
EXTRA_DIST = COPYING INSTALL applications tests \
config/mapi.conf.dag.entry \
config/mapi.conf.napatech.entry \
config/mapi.conf.ipfixflib.entry
dist-hook:
......
[driver]
device=/dev/ntx0
driver=mapinapatechdrv.so
description=Napatech capture card
......@@ -312,7 +312,7 @@ AM_CONDITIONAL(DRIVER_NAPATECH, test x$napatech = xtrue)
# AM_CONDITIONAL(BINARY_DAGFLIB, test x$dag = xtrue)
# AM_CONDITIONAL(PRECLASSIFICATION, test x$dag = xtrue)
if test x$napatech = xtrue; then
# MAPI_CONF_DAG_ENTRY=$srcdir/config/mapi.conf.dag.entry
MAPI_CONF_NAPATECH_ENTRY=$srcdir/config/mapi.conf.napatech.entry
# MAPI_FUNC_LIBS="${MAPI_FUNC_LIBS}:dagflib.so"
# AC_DEFINE(PRECLASSIFICATION, 1, [hardware preliminary packet classification])
AC_DEFINE(WITH_NAPATECH, 1, [if NAPATECH cards are supported])
......@@ -321,7 +321,7 @@ else
MAPI_CONF_NAPATECH_ENTRY=/dev/null
AC_MSG_RESULT(no)
fi
#AC_SUBST_FILE(MAPI_CONF_NAPATECH_ENTRY)
AC_SUBST_FILE(MAPI_CONF_NAPATECH_ENTRY)
# optional MAPI function libraries
......
......@@ -18,6 +18,8 @@ description=This is a driver for local capture
@MAPI_CONF_DAG_ENTRY@
@MAPI_CONF_NAPATECH_ENTRY@
[format]
format=MFF_PCAP
driver=mapinicdrv.so
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment