version 1.64, 2001/05/31 10:30:16 |
version 1.65, 2001/06/07 20:23:04 |
|
|
void |
void |
packet_put_cstring(const char *str) |
packet_put_cstring(const char *str) |
{ |
{ |
buffer_put_string(&outgoing_packet, str, strlen(str)); |
buffer_put_cstring(&outgoing_packet, str); |
} |
} |
void |
void |
packet_put_raw(const char *buf, u_int len) |
packet_put_raw(const char *buf, u_int len) |
|
|
packet_put_cstring(""); |
packet_put_cstring(""); |
} else { |
} else { |
packet_start(SSH_MSG_DISCONNECT); |
packet_start(SSH_MSG_DISCONNECT); |
packet_put_string(buf, strlen(buf)); |
packet_put_cstring(buf); |
} |
} |
packet_send(); |
packet_send(); |
packet_write_wait(); |
packet_write_wait(); |