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 | |
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')
-rw-r--r-- | usr.sbin/rbootd/bpf.c | 4 | ||||
-rw-r--r-- | usr.sbin/rbootd/rbootd.8 | 6 |
2 files changed, 5 insertions, 5 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(); } diff --git a/usr.sbin/rbootd/rbootd.8 b/usr.sbin/rbootd/rbootd.8 index cc1f4d57968..f2ac57adb8b 100644 --- a/usr.sbin/rbootd/rbootd.8 +++ b/usr.sbin/rbootd/rbootd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rbootd.8,v 1.16 2016/05/28 07:00:18 natano Exp $ +.\" $OpenBSD: rbootd.8,v 1.17 2017/04/19 05:36:13 natano Exp $ .\" $NetBSD: rbootd.8,v 1.3 1995/08/21 17:05:16 thorpej Exp $ .\" .\" Copyright (c) 1988, 1992 The University of Utah and the Center @@ -41,7 +41,7 @@ .\" Utah Hdr: rbootd.man 3.1 92/07/06 .\" Author: Jeff Forys, University of Utah CSS .\" -.Dd $Mdocdate: May 28 2016 $ +.Dd $Mdocdate: April 19 2017 $ .Dt RBOOTD 8 .Os .Sh NAME @@ -135,7 +135,7 @@ Turn off debugging, do nothing if already off. .El .Sh FILES .Bl -tag -width /usr/libexec/rbootd -compact -.It Pa /dev/bpf0 +.It Pa /dev/bpf packet-filter device .It Pa /etc/rbootd.conf configuration file |