diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "includes.h" | 44 | #include "includes.h" |
45 | RCSID("$OpenBSD: sshd.c,v 1.283 2003/12/09 17:29:04 markus Exp $"); | 45 | RCSID("$OpenBSD: sshd.c,v 1.284 2003/12/09 21:53:37 markus Exp $"); |
46 | 46 | ||
47 | #include <openssl/dh.h> | 47 | #include <openssl/dh.h> |
48 | #include <openssl/bn.h> | 48 | #include <openssl/bn.h> |
@@ -1398,8 +1398,8 @@ main(int ac, char **av) | |||
1398 | signal(SIGCHLD, SIG_DFL); | 1398 | signal(SIGCHLD, SIG_DFL); |
1399 | signal(SIGINT, SIG_DFL); | 1399 | signal(SIGINT, SIG_DFL); |
1400 | 1400 | ||
1401 | /* Set keepalives if requested. */ | 1401 | /* Set SO_KEEPALIVE if requested. */ |
1402 | if (options.keepalives && | 1402 | if (options.tcp_keep_alive && |
1403 | setsockopt(sock_in, SOL_SOCKET, SO_KEEPALIVE, &on, | 1403 | setsockopt(sock_in, SOL_SOCKET, SO_KEEPALIVE, &on, |
1404 | sizeof(on)) < 0) | 1404 | sizeof(on)) < 0) |
1405 | error("setsockopt SO_KEEPALIVE: %.100s", strerror(errno)); | 1405 | error("setsockopt SO_KEEPALIVE: %.100s", strerror(errno)); |