diff options
author | natano <natano@openbsd.org> | 2017-04-19 05:36:12 +0000 |
---|---|---|
committer | natano <natano@openbsd.org> | 2017-04-19 05:36:12 +0000 |
commit | 7b08a90aae262418a4b5fe9eae6b24d21fd1dcd4 (patch) | |
tree | 188724e650bbfb6b5975903479b8a0e42be691c9 /usr.sbin/mopd | |
parent | Bump numbers for /usr/obj allocation with *big* compilers. (diff) | |
download | wireguard-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/mopd')
-rw-r--r-- | usr.sbin/mopd/common/pf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mopd/common/pf.c b/usr.sbin/mopd/common/pf.c index 939fbf31653..d38b1095e9d 100644 --- a/usr.sbin/mopd/common/pf.c +++ b/usr.sbin/mopd/common/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.16 2016/05/28 07:00:18 natano Exp $ */ +/* $OpenBSD: pf.c,v 1.17 2017/04/19 05:36:13 natano Exp $ */ /* * Copyright (c) 1993-95 Mats O Jansson. All rights reserved. @@ -98,7 +98,7 @@ pfInit(char *interface, int mode, u_short protocol, int typ) insns }; - if ((fd = open("/dev/bpf0", mode)) == -1) { + if ((fd = open("/dev/bpf", mode)) == -1) { syslog(LOG_ERR,"pfInit: open bpf %m"); return (-1); } |