Make if_register_bpf() the same as the other if_register_*() functions
authorkrw <krw@openbsd.org>
Tue, 27 Jun 2017 15:56:15 +0000 (15:56 +0000)
committerkrw <krw@openbsd.org>
Tue, 27 Jun 2017 15:56:15 +0000 (15:56 +0000)
commit21d10df0a27b65a64fe84fb732fb381218160922
tree88c0f64442587dc2586665c57739a6e90fdd1788
parent21aa5442f454173b03848737965c2d955e9008c6
Make if_register_bpf() the same as the other if_register_*() functions
by directly assigning the socket fd to ifi->bfdesc rather than
returning it and having the caller do the assignment.
sbin/dhclient/bpf.c