allow outbound to be proxied

This commit is contained in:
Darien Raymond committed 2016-11-10 23:41:28 +01:00
1 parent e30f466424
commit 5dc05d6352
17 files changed
+222 -83

No files matched your search

+1 -3
View File
@@ -48,9 +48,7 @@ func (this *Client) Dispatch(destination v2net.Destination, payload *alloc.Buffe
server = this.serverPicker.PickServer()
dest := server.Destination()
dest.Network = network
rawConn, err := internet.Dial(this.meta.Address, dest, internet.DialerOptions{
Stream: this.meta.StreamSettings,
})
rawConn, err := internet.Dial(this.meta.Address, dest, this.meta.GetDialerOptions())
if err != nil {
return err
}