From 4d3d08301e8efc43b8d96160de9383e44efcb234 Mon Sep 17 00:00:00 2001 From: "Christian S.J. Peron" Date: Tue, 23 Aug 2005 01:35:38 +0000 Subject: [PATCH] FreeBSD unconditionally supports write filters now. --- sbin/dhclient/bpf.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sbin/dhclient/bpf.c b/sbin/dhclient/bpf.c index 911acb49407..60a9d74b673 100644 --- a/sbin/dhclient/bpf.c +++ b/sbin/dhclient/bpf.c @@ -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