mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-27 02:02:26 +00:00
Don't try and set up reconfigured port-forwardings if the connection isn't yet
ready for them. Spotted by Martin Dushkov. [originally from svn r5786]
This commit is contained in:
parent
ab855b74c5
commit
680a32d5bc
1
ssh.c
1
ssh.c
@ -8024,6 +8024,7 @@ static void ssh_reconfig(void *handle, Config *cfg)
|
|||||||
unsigned long old_max_data_size;
|
unsigned long old_max_data_size;
|
||||||
|
|
||||||
pinger_reconfig(ssh->pinger, &ssh->cfg, cfg);
|
pinger_reconfig(ssh->pinger, &ssh->cfg, cfg);
|
||||||
|
if (ssh->portfwds)
|
||||||
ssh_setup_portfwd(ssh, cfg);
|
ssh_setup_portfwd(ssh, cfg);
|
||||||
|
|
||||||
if (ssh->cfg.ssh_rekey_time != cfg->ssh_rekey_time &&
|
if (ssh->cfg.ssh_rekey_time != cfg->ssh_rekey_time &&
|
||||||
|
Loading…
Reference in New Issue
Block a user