Malcolm Smith's patch to support CHAP (digest-based) authentication
[u/mdw/putty] / config.c
index de3a613..d3d76f5 100644 (file)
--- a/config.c
+++ b/config.c
@@ -1038,10 +1038,10 @@ void setup_config_box(struct controlbox *b, struct sesslist *sesslist,
                  'r', HELPCTX(features_charset), dlg_stdcheckbox_handler,
                  I(offsetof(Config,no_remote_charset)));
     ctrl_checkbox(s, "Disable Arabic text shaping",
-                 'l', HELPCTX(no_help), dlg_stdcheckbox_handler,
+                 'l', HELPCTX(features_arabicshaping), dlg_stdcheckbox_handler,
                  I(offsetof(Config, arabicshaping)));
     ctrl_checkbox(s, "Disable bidirectional text display",
-                 'j', HELPCTX(no_help), dlg_stdcheckbox_handler,
+                 'd', HELPCTX(features_bidi), dlg_stdcheckbox_handler,
                  I(offsetof(Config, bidi)));
 
     /*
@@ -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)));
        }
 
     }