Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #264873

Category libpcap
Changed by Denis Ovsienko <denisohnoyoudont@ovsienko.info>
Changed at Sat 18 Apr 2026 00:18:05
Repository https://git.tcpdump.org/libpcap
Project libpcap
Branch master
Revision f0eb49fcf40797557a60b28a938a9627856b6ad9

Comments

filtertest: Refine error codes and usage.
Match the reject test calling convention in TESTrun: use EX_DATAERR for
pcap_compile() errors only, use EX_NOINPUT for pcap_open_offline()
errors only, use other status codes for other failures.  Treat a failure
to validate a compiled filter as an error.  Treat spurious options as
usage errors to make scripted invocation problems apparent.

In the help screen add a missing "]", lose some whitespace, use "<>" for
all placeholders, spell "<DLT>" and "<expression>", reword descriptions,
sort options alphabetically and list the exit status codes.

Changed files