blob: 5b002bf1484bed624a9fd7821e99704c2d7db5d0 [file] [log] [blame]
#!/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
./TESTonce nflog-e nflog.pcap nflog-e.out '-e'
[ $? -eq 0 ] || exitcode=1
else
printf ' %-35s: TEST SKIPPED (compiled w/o NFLOG)\n' 'nflog-e'
fi
exit $exitcode