summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBluesaxorcist <joshua@operatorfoundation.org>2019-08-30 13:38:57 -0500
committerBluesaxorcist <joshua@operatorfoundation.org>2019-08-30 13:38:57 -0500
commitada8a509a68716f2e556c176e046714eba61fb5e (patch)
treea2b1e09a210edd3ede078479f19dcede7f3cdc2a /common
parent6eb4abf90d2be86fa86668b321a217a5f6022366 (diff)
adjusted the readme to give option of using -options or -optionsfile
Diffstat (limited to 'common')
-rw-r--r--common/pt_extras/pt_extras.go1
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