summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sshd.c b/sshd.c
index 50856317a..ab029b00f 100644
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,7 @@
42 */ 42 */
43 43
44#include "includes.h" 44#include "includes.h"
45RCSID("$OpenBSD: sshd.c,v 1.283 2003/12/09 17:29:04 markus Exp $"); 45RCSID("$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));