Subject: CVS commit: src/lib/libpcap
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 06/10/2005 19:00:09
Module Name:	src
Committed By:	dyoung
Date:		Fri Jun 10 19:00:09 UTC 2005

Modified Files:
	src/lib/libpcap: pcap-bpf.c

Log Message:
Fix bpf_open so that we can run tcpdump without write-access to
any of the /dev/bpf* device nodes.  In bpf_open, first try to open
each /dev/bpf* read-write; if that fails, try to open each read-only.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/lib/libpcap/pcap-bpf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.