refactor: only use shaping dialer for ndt7 and dash (#754)
See https://github.com/ooni/probe/issues/2112 for context. While there, run `go fix -fix buildtag ./...`
This commit is contained in:
parent
b68b8e1e8f
commit
6924d1ad81
17 changed files with 126 additions and 65 deletions
11
internal/netxlite/shaping_otherwise.go
Normal file
11
internal/netxlite/shaping_otherwise.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
//go:build !shaping
|
||||
|
||||
package netxlite
|
||||
|
||||
import (
|
||||
"github.com/ooni/probe-cli/v3/internal/model"
|
||||
)
|
||||
|
||||
func newMaybeShapingDialer(dialer model.Dialer) model.Dialer {
|
||||
return dialer
|
||||
}
|
||||
Loading…
Reference in a new issue