sing-box/protocol/wireguard/init.go
2024-11-24 13:58:54 +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
}