11th os detection try

This commit is contained in:
2020-08-13 13:17:49 +02:00
parent 491a671576
commit 13c42a7dd3

View File

@ -111,7 +111,7 @@ string get_os_info(int fd) {
socklen_t ttlsize = sizeof(ttl); socklen_t ttlsize = sizeof(ttl);
getsockopt(fd, IPPROTO_IP, IP_TTL, &ttl, &ttlsize); 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) { string getETag(string filename) {