From 512bed498392b5ffc03ea4bbe5d7e89865c4ff28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=80=9D=E6=95=8F?= Date: Thu, 25 Aug 2022 18:21:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tap.go b/tap.go index 0b8fe19..5e1307c 100644 --- a/tap.go +++ b/tap.go @@ -118,7 +118,7 @@ func NewNetCard() *NetCard { flag.Parse() config := water.Config{ - DeviceType: water.TAP, + DeviceType: water.TUN, } config.Name = "stap"