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