From ada8a509a68716f2e556c176e046714eba61fb5e Mon Sep 17 00:00:00 2001 From: Bluesaxorcist Date: Fri, 30 Aug 2019 13:38:57 -0500 Subject: adjusted the readme to give option of using -options or -optionsfile --- common/pt_extras/pt_extras.go | 1 + 1 file changed, 1 insertion(+) (limited to 'common') 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 -- cgit v1.2.3