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/rarpd/rarpd.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/rarpd/rarpd.c')
-rw-r--r-- | usr.sbin/rarpd/rarpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rarpd/rarpd.c b/usr.sbin/rarpd/rarpd.c index 81dcb1f4737..a2dc5d9c4a0 100644 --- a/usr.sbin/rarpd/rarpd.c +++ b/usr.sbin/rarpd/rarpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rarpd.c,v 1.71 2017/01/20 06:22:38 krw Exp $ */ +/* $OpenBSD: rarpd.c,v 1.72 2017/04/19 05:36:13 natano Exp $ */ /* $NetBSD: rarpd.c,v 1.25 1998/04/23 02:48:33 mrg Exp $ */ /* @@ -244,8 +244,8 @@ rarp_open(char *device) struct ifreq ifr; u_int dlt; - if ((fd = open("/dev/bpf0", O_RDWR)) == -1) - error("/dev/bpf0: %s", strerror(errno)); + if ((fd = open("/dev/bpf", O_RDWR)) == -1) + error("/dev/bpf: %s", strerror(errno)); /* Set immediate mode so packets are processed as they arrive. */ immediate = 1; |