diff options
Diffstat (limited to 'networking/telnet.c')
-rw-r--r-- | networking/telnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/telnet.c b/networking/telnet.c index a25579773..3bb6fb1ba 100644 --- a/networking/telnet.c +++ b/networking/telnet.c | |||
@@ -623,7 +623,7 @@ int telnet_main(int argc UNUSED_PARAM, char **argv) | |||
623 | 623 | ||
624 | xmove_fd(create_and_connect_stream_or_die(host, port), netfd); | 624 | xmove_fd(create_and_connect_stream_or_die(host, port), netfd); |
625 | 625 | ||
626 | setsockopt(netfd, SOL_SOCKET, SO_KEEPALIVE, &const_int_1, sizeof(const_int_1)); | 626 | setsockopt_keepalive(netfd); |
627 | 627 | ||
628 | signal(SIGINT, record_signo); | 628 | signal(SIGINT, record_signo); |
629 | 629 | ||