mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
FreeBSD unconditionally supports write filters now.
This commit is contained in:
parent
db37c09a49
commit
4d3d08301e
1 changed files with 0 additions and 2 deletions
|
|
@ -221,7 +221,6 @@ if_register_receive(struct interface_info *info)
|
|||
if (ioctl(info->rfdesc, BIOCSETF, &p) < 0)
|
||||
error("Can't install packet filter program: %m");
|
||||
|
||||
#ifdef BIOCSETWF
|
||||
/* Set up the bpf write filter program structure. */
|
||||
p.bf_len = dhcp_bpf_wfilter_len;
|
||||
p.bf_insns = dhcp_bpf_wfilter;
|
||||
|
|
@ -234,7 +233,6 @@ if_register_receive(struct interface_info *info)
|
|||
|
||||
if (ioctl(info->rfdesc, BIOCLOCK, NULL) < 0)
|
||||
error("Cannot lock bpf");
|
||||
#endif
|
||||
}
|
||||
|
||||
ssize_t
|
||||
|
|
|
|||
Loading…
Reference in a new issue