From 9c3ef55a401ba4d52689fe2759f6f220cfa2866a Mon Sep 17 00:00:00 2001 From: reyk Date: Tue, 19 Jul 2016 17:34:13 +0000 Subject: [PATCH] L2 tun is tap now --- usr.sbin/switchd/switchd.c | 4 ++-- 1 file 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 @@ -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); } -- 2.20.1