diff options
author | Bluesaxorcist <joshua@operatorfoundation.org> | 2019-09-14 18:56:03 -0500 |
---|---|---|
committer | Bluesaxorcist <joshua@operatorfoundation.org> | 2019-09-14 18:56:03 -0500 |
commit | 6b048e3e998261a4bc105593e27607cf9d56e223 (patch) | |
tree | 713da1e089cfb861da8646ab96239be10c099800 /modes/transparent_udp/transparent_udp.go | |
parent | bfc867e0f07555b906ab7f3673aa3f6946a83bf9 (diff) |
refactoring the modes
Diffstat (limited to 'modes/transparent_udp/transparent_udp.go')
-rw-r--r-- | modes/transparent_udp/transparent_udp.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modes/transparent_udp/transparent_udp.go b/modes/transparent_udp/transparent_udp.go index 3352228..05235d7 100644 --- a/modes/transparent_udp/transparent_udp.go +++ b/modes/transparent_udp/transparent_udp.go @@ -33,6 +33,7 @@ import ( "bytes" "encoding/binary" "fmt" + options2 "github.com/OperatorFoundation/shapeshifter-dispatcher/common" "github.com/OperatorFoundation/shapeshifter-dispatcher/common/pt_extras" "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust" "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite" @@ -179,7 +180,7 @@ func dialConn(tracker *ConnTracker, addr string, target string, name string, opt fmt.Println("Dialing....") - args, argsErr := pt.ParsePT2ClientParameters(options) + args, argsErr := options2.ParseOptions(options) if argsErr != nil { log.Errorf("Error parsing transport options: %s", options) return |