Revert "TODO smbXsrv_connection_get_rto_usecs if (0)"
authorStefan Metzmacher <metze@samba.org>
Mon, 29 Jun 2020 12:58:52 +0000 (14:58 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 5 Oct 2020 12:13:05 +0000 (14:13 +0200)
This reverts commit 586f9beab24ae12a3b4861ac5c6006d5d731ceaf.

source3/smbd/smb2_server.c

index 0eaff57e50b1db88b72fdbf99b3b24451dcdd524..d7325da0ed57947fe2888bb4f888e6c58d746873 100644 (file)
@@ -1181,7 +1181,7 @@ static NTSTATUS smbXsrv_connection_get_rto_usecs(struct smbXsrv_connection *xcon
        uint32_t rto_usecs = 1000000;
 
 #ifdef __HAVE_TCP_INFO_RTO
-       if (0) {
+       {
                struct tcp_info info;
                socklen_t ilen = sizeof(info);
                int ret;