There is no more HAVE_PCAP_NFLOG_H macro to test.
libpcap has support for NFLOG in current in 1.8.1 and in old releases
1.7.4, 1.6.2 and 1.5.3.
Thus there should be no problem to always do the test.
m3ua isup.pcap isup.out
m3ua-vv isup.pcap isupvv.out -vv
-# NFLOG test case moved to nflog-e.sh
+# NFLOG test case
+nflog-e nflog.pcap nflog-e.out -e
# syslog test case
syslog-v syslog_udp.pcap syslog-v.out -v
+++ /dev/null
-#!/bin/sh
-
-exitcode=0
-
-# NFLOG support depends on both DLT_NFLOG and working <pcap/nflog.h>
-
-if grep '^#define HAVE_PCAP_NFLOG_H 1$' ../config.h >/dev/null
-then
- passed=`cat .passed`
- failed=`cat .failed`
- if ./TESTonce nflog-e nflog.pcap nflog-e.out '-e'
- then
- passed=`expr $passed + 1`
- echo $passed >.passed
- else
- failed=`expr $failed + 1`
- echo $failed >.failed
- exitcode=1
- fi
-else
- printf ' %-35s: TEST SKIPPED (compiled w/o NFLOG)\n' 'nflog-e'
-fi
-
-exit $exitcode