We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 132d9f7 commit 591ffbbCopy full SHA for 591ffbb
lib/client/udp-tracker.js
@@ -71,8 +71,11 @@ UDPTracker.prototype._request = function (opts) {
71
var socket
72
var transactionId = genTransactionId()
73
if (self.client._socksProxyOpts) {
74
+ if (!self.client._socksProxyOpts.proxy) {
75
+ self.client._socksProxyOpts.proxy = {}
76
+ }
77
// UDP requests uses the associate command
- self.client._socksProxyOpts.command = 'associate'
78
+ self.client._socksProxyOpts.proxy.command = 'associate'
79
if (!self.client._socksProxyOpts.target) {
80
// This should contain client IP and port but can be set to 0 if we don't have this information
81
self.client._socksProxyOpts.target = {
0 commit comments