From 54ccb02ad7e0d6b7947029c8f0179ac0308c6403 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 6 May 2016 10:15:08 +1000 Subject: [PATCH] Add client address and useragent to each share --- src/stratifier.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stratifier.c b/src/stratifier.c index 40d922f4..d3efb0f2 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -5664,6 +5664,8 @@ out_unlock: json_set_string(val, "createinet", ckp->serverurl[client->server]); json_set_string(val, "workername", client->workername); json_set_string(val, "username", user->username); + json_set_string(val, "address", client->address); + json_set_string(val, "agent", client->useragent); if (ckp->logshares) { fp = fopen(fname, "ae");