sing-box/protocol/wireguard/init.go
2024-11-20 13:55:27 +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
}