mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-19 18:04:09 +02:00
chore(tun): not linux or not darwin tagged files
This commit is contained in:
+2
-8
@@ -1,13 +1,7 @@
|
||||
package tun
|
||||
|
||||
import "golang.org/x/sys/unix"
|
||||
|
||||
type Tun struct {
|
||||
mknod func(path string, mode uint32, dev int) (err error)
|
||||
}
|
||||
type Tun struct{}
|
||||
|
||||
func New() *Tun {
|
||||
return &Tun{
|
||||
mknod: unix.Mknod,
|
||||
}
|
||||
return &Tun{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user