X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/f4ec081845e8411db28bda8e91f6ce83f0a0703f..33f07e9636e80bb17f25f97145ca2e0eb262db30:/config.c diff --git a/config.c b/config.c index 50548eee..d3d76f57 100644 --- a/config.c +++ b/config.c @@ -1292,6 +1292,10 @@ void setup_config_box(struct controlbox *b, struct sesslist *sesslist, 'n', HELPCTX(connection_nodelay), dlg_stdcheckbox_handler, I(offsetof(Config,tcp_nodelay))); + ctrl_checkbox(s, "Enable TCP keepalives (SO_KEEPALIVE option)", + 'p', HELPCTX(connection_tcpkeepalive), + dlg_stdcheckbox_handler, + I(offsetof(Config,tcp_keepalives))); } }