diff options
Diffstat (limited to 'common/pt_extras/pt_extras.go')
-rw-r--r-- | common/pt_extras/pt_extras.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/pt_extras/pt_extras.go b/common/pt_extras/pt_extras.go index e38d44e..3e865bf 100644 --- a/common/pt_extras/pt_extras.go +++ b/common/pt_extras/pt_extras.go @@ -222,6 +222,7 @@ func ArgsToDialer(target string, name string, args pt.Args) (Optimizer.Transport return nil, errors.New("shadow transport missing password argument") } case "Optimizer": + //replace underscore with ArgsToDialer if _, ok := args["transports"]; ok { if strategyName, ok2 := args["strategy"]; ok2 { var strategy Optimizer.Strategy = nil |