From 13c42a7dd3e21f5e267c6671e57e42722b25624e Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Thu, 13 Aug 2020 13:17:49 +0200 Subject: [PATCH] 11th os detection try --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.cpp b/src/client.cpp index 2db77f1..e5d5b10 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -111,7 +111,7 @@ string get_os_info(int fd) { socklen_t ttlsize = sizeof(ttl); getsockopt(fd, IPPROTO_IP, IP_TTL, &ttl, &ttlsize); - return "win_size=" + to_string(ti.tcpi_snd_ssthresh) + ", ttl=" + to_string(ttl); + return "win_size=" + to_string(ti.tcpi_rcv_space) + ", ttl=" + to_string(ttl); } string getETag(string filename) {