From e7792bcbe205bd7cea1b38d78aa98b2e7f833797 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Tue, 10 Jan 2012 19:48:19 +0100 Subject: [PATCH] use ssh_packet_* in dispatch.c --- ssh/dispatch.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ssh/dispatch.c b/ssh/dispatch.c index 9adb8f6..6d69bc6 100644 --- a/ssh/dispatch.c +++ b/ssh/dispatch.c @@ -41,10 +41,10 @@ dispatch_protocol_error(int type, u_int32_t seq, struct ssh *ssh) logit("dispatch_protocol_error: type %d seq %u", type, seq); if (!compat20) fatal("protocol error"); - packet_start(SSH2_MSG_UNIMPLEMENTED); - packet_put_int(seq); - packet_send(); - packet_write_wait(); + ssh_packet_start(ssh, SSH2_MSG_UNIMPLEMENTED); + ssh_packet_put_int(ssh, seq); + ssh_packet_send(ssh); + ssh_packet_write_wait(ssh); } void