11th os detection try
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user