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/openconnect"
|
||||
)
|
||||
|
||||
func registerOpenConnectEndpoint(registry *endpoint.Registry) {
|
||||
openconnect.RegisterEndpoint(registry)
|
||||
}
|
||||
|
||||
func registerOpenConnectDNSTransport(registry *dns.TransportRegistry) {
|
||||
openconnect.RegisterDNSTransport(registry)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user