send_packet(SSH1_MSG_IGNORE, PKT_STR, "", PKT_END);
if (!(ssh_remote_bugs & BUG_CHOKES_ON_SSH1_IGNORE)) send_packet(SSH1_MSG_IGNORE, PKT_STR, "", PKT_END);
static void ssh_special(Telnet_Special code){    if (code == TS_EOF) {	if (ssh_state != SSH_STATE_SESSION) {	    /*	     * Buffer the EOF in case we are pre-SESSION, so we can	     * send it as soon as we reach SESSION.	     */	    if (code == TS_EOF)		eof_needed = TRUE;	    return;	}	if (ssh_version == 1) {	    send_packet(SSH1_CMSG_EOF, PKT_END);	} else {	    ssh2_pkt_init(SSH2_MSG_CHANNEL_EOF);	    ssh2_pkt_adduint32(mainchan->remoteid);	    ssh2_pkt_send();	}	logevent("Sent EOF message");    } else if (code == TS_PING) {	if (ssh_state == SSH_STATE_CLOSED	    || ssh_state == SSH_STATE_PREPACKET) return;	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 */    }}