refactor: WireGuard endpoint

This commit is contained in:
世界 committed 2025-01-13 15:14:30 +08:00
1 parent fd299a0961
commit 68781387fe
89 files changed
+2186 -678

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ type Outbound struct {
func NewOutbound(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.StubOptions) (adapter.Outbound, error) {
return &Outbound{
Adapter: outbound.NewAdapter(C.TypeDNS, []string{N.NetworkTCP, N.NetworkUDP}, tag, nil),
Adapter: outbound.NewAdapter(C.TypeDNS, tag, []string{N.NetworkTCP, N.NetworkUDP}, nil),
router: router,
logger: logger,
}, nil