sing-box/protocol/wireguard/init.go
2024-11-18 19:35:46 +08:00

11 lines
173 B
Go

package wireguard
import (
"github.com/sagernet/sing-box/common/dialer"
"github.com/sagernet/wireguard-go/conn"
)
func init() {
dialer.WgControlFns = conn.ControlFns
}