diff options
author | Martin Natano <natano@cvs.openbsd.org> | 2017-04-19 05:36:14 +0000 |
---|---|---|
committer | Martin Natano <natano@cvs.openbsd.org> | 2017-04-19 05:36:14 +0000 |
commit | 79c49c8a4d06f0dcd7167e9e0ee5e5c0585c990f (patch) | |
tree | 6c1c9703b746334920a9fb909cd4f015645d0af8 /usr.sbin/rbootd/bpf.c | |
parent | 5d334641966a227552833321082b663e2e6f01b8 (diff) |
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/rbootd/bpf.c')
-rw-r--r-- | usr.sbin/rbootd/bpf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rbootd/bpf.c b/usr.sbin/rbootd/bpf.c index cce33fa6351..069253c0973 100644 --- a/usr.sbin/rbootd/bpf.c +++ b/usr.sbin/rbootd/bpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.c,v 1.25 2016/05/28 07:00:18 natano Exp $ */ +/* $OpenBSD: bpf.c,v 1.26 2017/04/19 05:36:13 natano Exp $ */ /* $NetBSD: bpf.c,v 1.5.2.1 1995/11/14 08:45:42 thorpej Exp $ */ /* @@ -84,7 +84,7 @@ BpfOpen(void) struct ifreq ifr; int n; - if ((BpfFd = open("/dev/bpf0", O_RDWR)) == -1) { + if ((BpfFd = open("/dev/bpf", O_RDWR)) == -1) { syslog(LOG_ERR, "bpf: can't open device: %m"); DoExit(); } |