]> andersk Git - gssapi-openssh.git/blobdiff - openssh/packet.c
Import of OpenSSH 3.7.1p2
[gssapi-openssh.git] / openssh / packet.c
index 4ef639fd6297ef1bf12cca9f0f6f5fe8ca754ada..02b629f30f6ec5358248fa8b26a262527c29fd11 100644 (file)
@@ -37,7 +37,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: packet.c,v 1.109 2003/07/10 14:42:28 markus Exp $");
+RCSID("$OpenBSD: packet.c,v 1.110 2003/09/19 09:02:02 markus Exp $");
 
 #include "openbsd-compat/sys-queue.h"
 
@@ -1020,7 +1020,9 @@ packet_read_poll2(u_int32_t *seqnr_p)
                cp = buffer_ptr(&incoming_packet);
                packet_length = GET_32BIT(cp);
                if (packet_length < 1 + 4 || packet_length > 256 * 1024) {
+#ifdef PACKET_DEBUG
                        buffer_dump(&incoming_packet);
+#endif
                        packet_disconnect("Bad packet length %u.", packet_length);
                }
                DBG(debug("input: packet len %u", packet_length+4));
This page took 0.036196 seconds and 4 git commands to generate.