diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2016-07-19 17:34:14 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2016-07-19 17:34:14 +0000 |
commit | 998315533b3d8adb09f5c386f9f30e8d1f751da9 (patch) | |
tree | 95f5d6bb171f12c8a46e6422caf6d74247e05aef | |
parent | 2743bffdf44c72b911e90ca5e42e7464f2062bdd (diff) |
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); } |