summaryrefslogtreecommitdiff
path: root/dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'dispatch.c')
-rw-r--r--dispatch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dispatch.c b/dispatch.c
index ce32bc22f..c5ff65031 100644
--- a/dispatch.c
+++ b/dispatch.c
@@ -22,7 +22,7 @@
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24#include "includes.h" 24#include "includes.h"
25RCSID("$OpenBSD: dispatch.c,v 1.15 2002/01/11 13:39:36 markus Exp $"); 25RCSID("$OpenBSD: dispatch.c,v 1.16 2003/04/08 20:21:28 itojun Exp $");
26 26
27#include "ssh1.h" 27#include "ssh1.h"
28#include "ssh2.h" 28#include "ssh2.h"
@@ -39,7 +39,7 @@ dispatch_fn *dispatch[DISPATCH_MAX];
39void 39void
40dispatch_protocol_error(int type, u_int32_t seq, void *ctxt) 40dispatch_protocol_error(int type, u_int32_t seq, void *ctxt)
41{ 41{
42 log("dispatch_protocol_error: type %d seq %u", type, seq); 42 logit("dispatch_protocol_error: type %d seq %u", type, seq);
43 if (!compat20) 43 if (!compat20)
44 fatal("protocol error"); 44 fatal("protocol error");
45 packet_start(SSH2_MSG_UNIMPLEMENTED); 45 packet_start(SSH2_MSG_UNIMPLEMENTED);
@@ -50,7 +50,7 @@ dispatch_protocol_error(int type, u_int32_t seq, void *ctxt)
50void 50void
51dispatch_protocol_ignore(int type, u_int32_t seq, void *ctxt) 51dispatch_protocol_ignore(int type, u_int32_t seq, void *ctxt)
52{ 52{
53 log("dispatch_protocol_ignore: type %d seq %u", type, seq); 53 logit("dispatch_protocol_ignore: type %d seq %u", type, seq);
54} 54}
55void 55void
56dispatch_init(dispatch_fn *dflt) 56dispatch_init(dispatch_fn *dflt)