mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-12-23 16:37:31 +00:00
commit
6424b07ad8
@ -231,9 +231,9 @@ func (c *Core) DEBUG_startTunWithMTU(ifname string, iftapmode bool, mtu int) {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
go c.tun.read()
|
||||
go func() { panic(c.tun.read()) }()
|
||||
}
|
||||
go c.tun.write()
|
||||
go func() { panic(c.tun.write()) }()
|
||||
}
|
||||
|
||||
func (c *Core) DEBUG_stopTun() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user