sing-box/protocol/wireguard/init.go

11 lines
173 B
Go
Raw Permalink Normal View History

2024-11-01 16:39:02 +00:00
package wireguard
import (
"github.com/sagernet/sing-box/common/dialer"
"github.com/sagernet/wireguard-go/conn"
)
func init() {
dialer.WgControlFns = conn.ControlFns
}