summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2017-08-24 10:03:25 -0400
committerOz Linden <oz@lindenlab.com>2017-08-24 10:03:25 -0400
commit5c45b4ac36a4cd95d6cc3b6066e0dd2fb2125de1 (patch)
tree0039044e59b983065738d5709e065cae9239ba63 /indra
parent6980f5bcc247bc12fd0672164cc713db2e93198a (diff)
MAINT-7594: add address_size to login parameters for stats
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lllogininstance.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/lllogininstance.cpp b/indra/newview/lllogininstance.cpp
index 4eb1909042..bef0ac9058 100644
--- a/indra/newview/lllogininstance.cpp
+++ b/indra/newview/lllogininstance.cpp
@@ -63,6 +63,11 @@
#include <boost/scoped_ptr.hpp>
#include <sstream>
+// this can be removed once it is defined by the build for all forks
+#ifndef ADDRESS_SIZE
+# define ADDRESS_SIZE 32
+#endif
+
class LLLoginInstance::Disposable {
public:
virtual ~Disposable() {}
@@ -605,6 +610,7 @@ void LLLoginInstance::constructAuthParams(LLPointer<LLCredential> user_credentia
request_params["version"] = LLVersionInfo::getVersion();
request_params["channel"] = LLVersionInfo::getChannel();
request_params["platform"] = mPlatform;
+ request_params["address_size"] = ADDRESS_SIZE;
request_params["platform_version"] = mPlatformVersion;
request_params["platform_string"] = mPlatformVersionName;
request_params["id0"] = mSerialNumber;