summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-08-08 19:02:30 +0300
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-08-08 19:02:30 +0300
commitee56c507ab9fb370a754b24026e1a8b100bb447a (patch)
tree9f583d7ba0d76770db27e98f303e1bb7c2cacb05 /indra
parent0bb61ad3dec04a95660e0495a7f269ed448e05d0 (diff)
SL-18049 use instance_offset appropriately
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvoicevivox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp
index 72e0412194..1b9aef193c 100644
--- a/indra/newview/llvoicevivox.cpp
+++ b/indra/newview/llvoicevivox.cpp
@@ -967,7 +967,7 @@ bool LLVivoxVoiceClient::startAndLaunchDaemon()
// to increment instance_offset on EADDRINUSE.
// But for now just use rand
static U32 instance_offset = portrange * ll_rand(20);
- port = portbase + portoffset + portrange;
+ port = portbase + portoffset + instance_offset;
}
else
{