MFC 1.5: we now support BPF write filters unconditionally.

This commit is contained in:
brooks 2005-12-20 21:11:16 +00:00
parent a2aee2ad8e
commit 964ba286a9

View File

@ -223,7 +223,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;
@ -236,7 +235,6 @@ if_register_receive(struct interface_info *info)
if (ioctl(info->rfdesc, BIOCLOCK, NULL) < 0)
error("Cannot lock bpf");
#endif
}
ssize_t