--- Begin Message ---
Hello all.

tcpdump has been keeping a copy of bpf_dump.c from libpcap with the
following description in INSTALL.md:

"bpf_dump.c     - BPF program printing routines, in case libpcap
doesn't have them. A known example is OpenBSD libpcap."

Indeed, OpenBSD libpcap still does not have bpf_dump().  However, in
the master branch tcpdump(1) says:

"This version of tcpdump requires libpcap 1.0 or later."

bpf_dump() has been in libpcap since version 0.6.1, so according to the
above any supported version of libpcap has bpf_dump().

This way, either bpf_dump.c should be removed from tcpdump to match the
stated version requirement (which would exclude OpenBSD libpcap) or the
version requirement should be worded differently.  Alternatively,
someone could add bpf_dump() to OpenBSD libpcap, which would simplify
OpenBSD tcpdump as well, because it includes a copy of bpf_dump.c too.

-- 
    Denis Ovsienko

--- End Message ---
_______________________________________________
tcpdump-workers mailing list -- tcpdump-workers@lists.tcpdump.org
To unsubscribe send an email to tcpdump-workers-le...@lists.tcpdump.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to