summaryrefslogtreecommitdiffstats
path: root/usr.sbin/hostapd
diff options
context:
space:
mode:
authornatano <natano@openbsd.org>2017-04-19 05:36:12 +0000
committernatano <natano@openbsd.org>2017-04-19 05:36:12 +0000
commit7b08a90aae262418a4b5fe9eae6b24d21fd1dcd4 (patch)
tree188724e650bbfb6b5975903479b8a0e42be691c9 /usr.sbin/hostapd
parentBump numbers for /usr/obj allocation with *big* compilers. (diff)
downloadwireguard-openbsd-7b08a90aae262418a4b5fe9eae6b24d21fd1dcd4.tar.xz
wireguard-openbsd-7b08a90aae262418a4b5fe9eae6b24d21fd1dcd4.zip
Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been
around for two releases, it should be safe to do so. ok bluhm deraadt sthen tb yasuoka
Diffstat (limited to 'usr.sbin/hostapd')
-rw-r--r--usr.sbin/hostapd/hostapd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/hostapd/hostapd.c b/usr.sbin/hostapd/hostapd.c
index 3bb5bd5a572..9e84a0700b1 100644
--- a/usr.sbin/hostapd/hostapd.c
+++ b/usr.sbin/hostapd/hostapd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hostapd.c,v 1.37 2016/05/28 07:00:18 natano Exp $ */
+/* $OpenBSD: hostapd.c,v 1.38 2017/04/19 05:36:13 natano Exp $ */
/*
* Copyright (c) 2004, 2005 Reyk Floeter <reyk@openbsd.org>
@@ -173,7 +173,7 @@ hostapd_bpf_open(u_int flags)
int fd = -1;
struct bpf_version bpv;
- if ((fd = open("/dev/bpf0", flags)) == -1) {
+ if ((fd = open("/dev/bpf", flags)) == -1) {
hostapd_fatal("unable to open BPF device: %s\n",
strerror(errno));
}