]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
BPF: Correct libpcap warning 607/head
authorRoy Marples <roy@marples.name>
Tue, 19 May 2026 11:37:27 +0000 (12:37 +0100)
committerRoy Marples <roy@marples.name>
Tue, 19 May 2026 11:37:27 +0000 (12:37 +0100)
src/bpf-pcap.c

index 1fcd50b2479372db2ffae55c39d925f5a1fce882..d3712b429ff6cd4889e47bfe12edd7de8d461c20 100644 (file)
@@ -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);