mirror of
https://github.com/qdm12/gluetun.git
synced 2026-08-05 03:43:24 +02:00
feat(wireguard): WIREGUARD_GSO option to disable TUN vnet hdr batching (#3424)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
//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)
|
||||
}
|
||||
Reference in New Issue
Block a user