]> The Tcpdump Group git mirrors - libpcap/commit
bpf: fix error check.
authorGuy Harris <[email protected]>
Tue, 15 Mar 2022 02:13:16 +0000 (19:13 -0700)
committerGuy Harris <[email protected]>
Wed, 16 Mar 2022 05:36:16 +0000 (22:36 -0700)
commita62db481c1eda725cf51b0ca991c8fea70df7b70
tree3528918d796d33d6888cde618528c39e858e3090
parent18cb2c66ee0cde6e3c720fdf753dfbbd8ce97bf4
bpf: fix error check.

The status of the bpf_bind() call, which is what might equal
BPF_BIND_BUFFER_TOO_BIG, is in status, not errno.

(cherry picked from commit b9428e2c4bcb4d8509a65b6fc9a4cb2ab23f3d1e)
pcap-bpf.c