mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Argh, I messed up SSH1 remote tunnels too (same mistake).
[originally from svn r4728]
This commit is contained in:
parent
f24ac64cef
commit
352bca5b1e
3
ssh.c
3
ssh.c
@ -3582,7 +3582,8 @@ static void ssh1_protocol(Ssh ssh, unsigned char *in, int inlen, int ispkt)
|
||||
}
|
||||
if (sport && dport) {
|
||||
/* Set up a description of the source port. */
|
||||
char *sportdesc = dupprintf("%.*s%.*s%.*s%.*s%d%.*s",
|
||||
static char *sportdesc;
|
||||
sportdesc = dupprintf("%.*s%.*s%.*s%.*s%d%.*s",
|
||||
(int)(*saddr?strlen(saddr):0), *saddr?saddr:NULL,
|
||||
(int)(*saddr?1:0), ":",
|
||||
(int)(sserv ? strlen(sports) : 0), sports,
|
||||
|
Loading…
Reference in New Issue
Block a user