mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-23 18:14:29 +08:00
e02b9c9f65
That's a simpler way to deal with the Perl interpreter not being in /usr/bin.
11 lines
276 B
Bash
Executable File
11 lines
276 B
Bash
Executable File
#!/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 ' %-30s: TEST SKIPPED (compiled w/o NFLOG)\n' 'nflog-e'
|
|
fi
|