summaryrefslogtreecommitdiff
path: root/tests/nflog-e.sh
blob: 46b99eec32b48d2f10ad1d26a4c49620c995bee3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# 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
  ./TESTonce nflog-e nflog.pcap nflog-e.out '-t -e'
else
	printf '    %-35s: TEST SKIPPED (compiled w/o NFLOG)\n' 'nflog-e'
fi