Improve OpenVPN & OpenConnect interoperability
This commit is contained in:
@@ -4,9 +4,14 @@ package include
|
||||
|
||||
import (
|
||||
"github.com/sagernet/sing-box/adapter/endpoint"
|
||||
"github.com/sagernet/sing-box/dns"
|
||||
"github.com/sagernet/sing-box/protocol/openvpn"
|
||||
)
|
||||
|
||||
func registerOpenVPNEndpoints(registry *endpoint.Registry) {
|
||||
openvpn.RegisterEndpoint(registry)
|
||||
}
|
||||
|
||||
func registerOpenVPNDNSTransport(registry *dns.TransportRegistry) {
|
||||
openvpn.RegisterDNSTransport(registry)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user