projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move initialisation of the saved session box outside init_dlg_ctrls() so
[u/mdw/putty]
/
ssh.c
diff --git
a/ssh.c
b/ssh.c
index
f0a26aa
..
509ea3a
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-2611,6
+2611,14
@@
static void ssh_special (Telnet_Special code) {
ssh2_pkt_send();
}
logevent("Sent EOF message");
ssh2_pkt_send();
}
logevent("Sent EOF message");
+ } else if (code == TS_PING) {
+ if (ssh_version == 1) {
+ send_packet(SSH1_MSG_IGNORE, PKT_STR, "", PKT_END);
+ } else {
+ ssh2_pkt_init(SSH2_MSG_IGNORE);
+ ssh2_pkt_addstring_start();
+ ssh2_pkt_send();
+ }
} else {
/* do nothing */
}
} else {
/* do nothing */
}