summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dhcrelay6
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/dhcrelay6
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/dhcrelay6')
-rw-r--r--usr.sbin/dhcrelay6/bpf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcrelay6/bpf.c b/usr.sbin/dhcrelay6/bpf.c
index 1289d9a504a..dbc7098c9a8 100644
--- a/usr.sbin/dhcrelay6/bpf.c
+++ b/usr.sbin/dhcrelay6/bpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.c,v 1.1 2017/03/17 14:45:16 rzalamena Exp $ */
+/* $OpenBSD: bpf.c,v 1.2 2017/04/19 05:36:13 natano Exp $ */
/* BPF socket interface code, originally contributed by Archie Cobbs. */
@@ -75,7 +75,7 @@ if_register_bpf(struct interface_info *info)
int sock;
/* Open the BPF device */
- if ((sock = open("/dev/bpf0", O_RDWR)) == -1)
+ if ((sock = open("/dev/bpf", O_RDWR)) == -1)
fatal("Can't open bpf device");
/* Set the BPF device to point at this interface. */