* called by a name other than "ssh" or "Secure Shell".
*
* SSH2 support by Markus Friedl.
- * Copyright (c) 2000 Markus Friedl. All rights reserved.
+ * Copyright (c) 2000 Markus Friedl. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
*/
#include "includes.h"
-RCSID("$OpenBSD: serverloop.c,v 1.51 2001/02/23 15:34:53 markus Exp $");
+RCSID("$OpenBSD: serverloop.c,v 1.54 2001/03/04 01:46:30 djm Exp $");
#include "xmalloc.h"
#include "packet.h"
* Simulate echo to reduce the impact of
* traffic analysis
*/
- packet_start(SSH_MSG_IGNORE);
- memset(buffer_ptr(&stdin_buffer), 0, len);
- packet_put_string(buffer_ptr(&stdin_buffer), len);
+ packet_send_ignore(len);
packet_send();
}
/* Consume the data from the buffer. */