sing-box/protocol/wireguard/init.go
2024-11-09 18:41:11 +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
}