sing-box/protocol/wireguard/init.go

11 lines
173 B
Go
Raw Normal View History

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