diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-26 02:09:41 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-26 02:09:41 +0000 |
commit | 8b08d8115dea89e37f8d12be107fa1c774afbc5a (patch) | |
tree | 15d6ce1d75b08af32ca0044a22544cebc53d7e43 /packet.c | |
parent | 3dc40f997b562dbe48d3a004e85e57068015794a (diff) |
- markus@cvs.openbsd.org 2002/03/24 16:01:13
[packet.c]
debug->debug3 for extra padding
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,7 +37,7 @@ | |||
37 | */ | 37 | */ |
38 | 38 | ||
39 | #include "includes.h" | 39 | #include "includes.h" |
40 | RCSID("$OpenBSD: packet.c,v 1.92 2002/03/19 10:49:35 markus Exp $"); | 40 | RCSID("$OpenBSD: packet.c,v 1.93 2002/03/24 16:01:13 markus Exp $"); |
41 | 41 | ||
42 | #include "xmalloc.h" | 42 | #include "xmalloc.h" |
43 | #include "buffer.h" | 43 | #include "buffer.h" |
@@ -644,7 +644,7 @@ packet_send2(void) | |||
644 | /* will wrap if extra_pad+padlen > 255 */ | 644 | /* will wrap if extra_pad+padlen > 255 */ |
645 | extra_pad = roundup(extra_pad, block_size); | 645 | extra_pad = roundup(extra_pad, block_size); |
646 | pad = extra_pad - ((len + padlen) % extra_pad); | 646 | pad = extra_pad - ((len + padlen) % extra_pad); |
647 | debug("packet_send2: adding %d (len %d padlen %d extra_pad %d)", | 647 | debug3("packet_send2: adding %d (len %d padlen %d extra_pad %d)", |
648 | pad, len, padlen, extra_pad); | 648 | pad, len, padlen, extra_pad); |
649 | padlen += pad; | 649 | padlen += pad; |
650 | extra_pad = 0; | 650 | extra_pad = 0; |