diff options
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/protocol/transport/socket/src/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/transport/socket/src/socket.c b/xlators/protocol/transport/socket/src/socket.c index c5c019c48..fd3815d83 100644 --- a/xlators/protocol/transport/socket/src/socket.c +++ b/xlators/protocol/transport/socket/src/socket.c @@ -259,7 +259,7 @@ __socket_keepalive (int fd, int keepalive_intvl) if (keepalive_intvl == GF_USE_DEFAULT_KEEPALIVE) goto done; -#ifdef GF_DARWIN_HOST_OS +#ifndef GF_LINUX_HOST_OS ret = setsockopt (fd, IPPROTO_TCP, TCP_KEEPALIVE, &keepalive_intvl, sizeof (keepalive_intvl)); if (ret == -1) |