projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0cb8c0
)
Don't try and set up reconfigured port-forwardings if the connection isn't yet
author
jacob
<jacob@cda61777-01e9-0310-a592-d414129be87e>
Mon, 16 May 2005 08:31:05 +0000
(08:31 +0000)
committer
jacob
<jacob@cda61777-01e9-0310-a592-d414129be87e>
Mon, 16 May 2005 08:31:05 +0000
(08:31 +0000)
ready for them. Spotted by Martin Dushkov.
git-svn-id: svn://svn.tartarus.org/sgt/putty@5786
cda61777
-01e9-0310-a592-
d414129be87e
ssh.c
patch
|
blob
|
blame
|
history
diff --git
a/ssh.c
b/ssh.c
index
520f6fa
..
69972e4
100644
(file)
--- a/
ssh.c
+++ b/
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) {