Explicitly reject detour to empty direct outbounds

This commit is contained in:
世界
2025-03-29 18:04:30 +08:00
parent dca786c0bb
commit d8376282d5
20 changed files with 142 additions and 65 deletions
+6 -1
View File
@@ -38,7 +38,12 @@ func newPlatformTransport(iif LocalDNSTransport, tag string, options option.Loca
}
}
func (p *platformTransport) Reset() {
func (p *platformTransport) Start(stage adapter.StartStage) error {
return nil
}
func (p *platformTransport) Close() error {
return nil
}
func (p *platformTransport) Exchange(ctx context.Context, message *mDNS.Msg) (*mDNS.Msg, error) {