Diff

Differences From Artifact [e59d9bd1b4]:

To Artifact [f97804cdfb]:


1374
1375
1376
1377
1378
1379
1380

1381
1382
1383

1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397

1398
1399
1400
1401
1402
1403
1404
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383

1384





1385
1386
1387
1388
1389

1390

1391
1392
1393
1394
1395
1396
1397
1398
1399







+


-
+
-
-
-
-
-





-

-

+







			  '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)));
#ifndef NO_IPV6
	    s = ctrl_getset(b, "Connection", "ipversion",
			  "Internet protocol version");
	    ctrl_radiobuttons(s, NULL, NO_SHORTCUT,
	    ctrl_radiobuttons(s, NULL, NO_SHORTCUT, 3,
#ifndef NO_IPV6
			  3,
#else
			  2,
#endif
			  HELPCTX(connection_ipversion),
			  dlg_stdradiobutton_handler,
			  I(offsetof(Config, addressfamily)),
			  "Auto", NO_SHORTCUT, I(ADDRTYPE_UNSPEC),
			  "IPv4", NO_SHORTCUT, I(ADDRTYPE_IPV4),
#ifndef NO_IPV6
			  "IPv6", NO_SHORTCUT, I(ADDRTYPE_IPV6),
#endif
			  NULL);
#endif
	}

	/*
	 * A sub-panel Connection/Data, containing options that
	 * decide on data to send to the server.
	 */
	if (!midsession) {
1797
1798
1799
1800
1801
1802
1803

1804
1805

1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818

1819
1820
1821
1822
1823
1824
1825
1792
1793
1794
1795
1796
1797
1798
1799
1800

1801





1802
1803
1804
1805

1806

1807
1808
1809
1810
1811
1812
1813
1814
1815







+

-
+
-
-
-
-
-




-

-

+







	pfd->direction = ctrl_radiobuttons(s, NULL, NO_SHORTCUT, 3,
					   HELPCTX(ssh_tunnels_portfwd),
					   portfwd_handler, P(pfd),
					   "Local", 'l', P(NULL),
					   "Remote", 'm', P(NULL),
					   "Dynamic", 'y', P(NULL),
					   NULL);
#ifndef NO_IPV6
	pfd->addressfamily =
	    ctrl_radiobuttons(s, NULL, NO_SHORTCUT,
	    ctrl_radiobuttons(s, NULL, NO_SHORTCUT, 3,
#ifndef NO_IPV6
			      3,
#else
			      2,
#endif
			      HELPCTX(ssh_tunnels_portfwd_ipversion),
			      portfwd_handler, P(pfd),
			      "Auto", NO_SHORTCUT, I(ADDRTYPE_UNSPEC),
			      "IPv4", NO_SHORTCUT, I(ADDRTYPE_IPV4),
#ifndef NO_IPV6
			      "IPv6", NO_SHORTCUT, I(ADDRTYPE_IPV6),
#endif
			      NULL);
#endif
	ctrl_tabdelay(s, pfd->addbutton);
	ctrl_columns(s, 1, 100);

	if (!midsession) {
	    /*
	     * The Connection/SSH/Bugs panel.
	     */