diff options
author | csjp <csjp@FreeBSD.org> | 2005-08-23 01:35:38 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2005-08-23 01:35:38 +0000 |
commit | d3eff5cec10db8091edaf6687bd5780bd6a65ef3 (patch) | |
tree | 9f61d15a780a817bb3684761746fa7d97f1edead /sbin | |
parent | 1dfaa5f9297a48043b19b410c9b767c965fdb6e9 (diff) | |
download | FreeBSD-src-d3eff5cec10db8091edaf6687bd5780bd6a65ef3.zip FreeBSD-src-d3eff5cec10db8091edaf6687bd5780bd6a65ef3.tar.gz |
FreeBSD unconditionally supports write filters now.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/dhclient/bpf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sbin/dhclient/bpf.c b/sbin/dhclient/bpf.c index 911acb4..60a9d74 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 |