mirror of
https://github.com/qdm12/gluetun.git
synced 2026-08-05 03:43:24 +02:00
12 lines
237 B
Go
12 lines
237 B
Go
//go:build !linux
|
|
|
|
package amneziawg
|
|
|
|
import (
|
|
amneziatun "github.com/amnezia-vpn/amneziawg-go/tun"
|
|
)
|
|
|
|
func createTUN(name string, mtu int, _ bool) (amneziatun.Device, error) { //nolint:ireturn
|
|
return amneziatun.CreateTUN(name, mtu)
|
|
}
|