Explicitly reject detour to empty direct outbounds

This commit is contained in:
世界
2025-07-08 13:12:28 +08:00
parent d2dc3ddf72
commit fb622ccbdf
20 changed files with 142 additions and 65 deletions
+6 -1
View File
@@ -51,7 +51,12 @@ func NewTransport(ctx context.Context, logger log.ContextLogger, tag string, opt
}, nil
}
func (t *Transport) Reset() {
func (t *Transport) Start(stage adapter.StartStage) error {
return nil
}
func (t *Transport) Close() error {
return nil
}
func (t *Transport) Exchange(ctx context.Context, message *mDNS.Msg) (*mDNS.Msg, error) {