This commit is contained in:
黄思敏 2022-08-25 18:21:41 +08:00
parent 2b9471e72c
commit 512bed4983

2
tap.go
View File

@ -118,7 +118,7 @@ func NewNetCard() *NetCard {
flag.Parse() flag.Parse()
config := water.Config{ config := water.Config{
DeviceType: water.TAP, DeviceType: water.TUN,
} }
config.Name = "stap" config.Name = "stap"