diff options
Diffstat (limited to 'pkg/bitmask/init.go')
-rw-r--r-- | pkg/bitmask/init.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bitmask/init.go b/pkg/bitmask/init.go index b6b41b4..ab40fed 100644 --- a/pkg/bitmask/init.go +++ b/pkg/bitmask/init.go @@ -109,7 +109,7 @@ func InitializeBitmask(conf *config.Config) (Bitmask, error) { func setTransport(b Bitmask, conf *config.Config) error { if conf.Obfs4 { log.Printf("Use transport Obfs4") - err := b.UseTransport("obfs4") + err := b.SetTransport("obfs4") if err != nil { log.Printf("Error setting transport: %v", err) return err |