diff options
author | 2016-07-19 17:34:13 +0000 | |
---|---|---|
committer | 2016-07-19 17:34:13 +0000 | |
commit | 9c3ef55a401ba4d52689fe2759f6f220cfa2866a (patch) | |
tree | 92348596957e25954f89dbf4937985aa1d5cc636 | |
parent | Don't use .p_shutdown in the proc struct (diff) | |
download | wireguard-openbsd-9c3ef55a401ba4d52689fe2759f6f220cfa2866a.tar.xz wireguard-openbsd-9c3ef55a401ba4d52689fe2759f6f220cfa2866a.zip |
L2 tun is tap now
-rw-r--r-- | usr.sbin/switchd/switchd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/switchd/switchd.c b/usr.sbin/switchd/switchd.c index e8db42be69c..19e6bf4c079 100644 --- a/usr.sbin/switchd/switchd.c +++ b/usr.sbin/switchd/switchd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: switchd.c,v 1.2 2016/07/19 17:31:22 reyk Exp $ */ +/* $OpenBSD: switchd.c,v 1.3 2016/07/19 17:34:13 reyk Exp $ */ /* * Copyright (c) 2013-2016 Reyk Floeter <reyk@openbsd.org> @@ -252,7 +252,7 @@ int switchd_tap(void) { int fd; - if ((fd = open("/dev/tun0", O_WRONLY)) == -1) + if ((fd = open("/dev/tap0", O_WRONLY)) == -1) return (-1); return (fd); } |