From: Roy Marples Date: Tue, 19 May 2026 11:37:27 +0000 (+0100) Subject: BPF: Correct libpcap warning X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F607%2Fhead;p=thirdparty%2Fdhcpcd.git BPF: Correct libpcap warning --- diff --git a/src/bpf-pcap.c b/src/bpf-pcap.c index 1fcd50b2..d3712b42 100644 --- a/src/bpf-pcap.c +++ b/src/bpf-pcap.c @@ -202,7 +202,7 @@ bpf_setwfilter(const struct bpf *bpf, void *filter, unsigned int filter_len) } return ioctl(fd, BIOCSETWF, &pf); #else -#warning No BIOCSETWF support - a compromised BPF can be used as a raw socket +#warning a compromised libpcap can inject arbitary packets UNUSED(bpf); UNUSED(filter); UNUSED(filter_len);