collect and save participation agreed/declined stats

This commit is contained in:
orignal committed 2015-03-24 18:48:16 -04:00
1 parent f8a7beb001
commit fd3dab35cc
6 files changed
+90 -9

No files matched your search

+1
View File
@@ -121,6 +121,7 @@ namespace tunnel
const uint8_t * record = msg + 1 + hop->recordIndex*TUNNEL_BUILD_RECORD_SIZE;
uint8_t ret = record[BUILD_RESPONSE_RECORD_RET_OFFSET];
LogPrint ("Ret code=", (int)ret);
hop->router->GetProfile ()->TunnelBuildResponse (ret);
if (ret)
// if any of participants declined the tunnel is not established
established = false;