mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +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
3
ssh.c
3
ssh.c
@ -8024,7 +8024,8 @@ static void ssh_reconfig(void *handle, Config *cfg)
|
||||
unsigned long old_max_data_size;
|
||||
|
||||
pinger_reconfig(ssh->pinger, &ssh->cfg, cfg);
|
||||
ssh_setup_portfwd(ssh, cfg);
|
||||
if (ssh->portfwds)
|
||||
ssh_setup_portfwd(ssh, cfg);
|
||||
|
||||
if (ssh->cfg.ssh_rekey_time != cfg->ssh_rekey_time &&
|
||||
cfg->ssh_rekey_time != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user