From: reyk Date: Tue, 19 Jul 2016 17:34:13 +0000 (+0000) Subject: L2 tun is tap now X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9c3ef55a401ba4d52689fe2759f6f220cfa2866a;p=openbsd L2 tun is tap now --- 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 @@ -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); }