summaryrefslogtreecommitdiffstats
path: root/packet.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-06-28 12:38:01 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-06-28 12:38:01 +1000
commit502d384b74fae68dd9e265f48c2026cef6c12806 (patch)
tree23aa1a738e0c94ffdc6efa196ab1bbb2a51afe8a /packet.c
parent674f71d77e3683746a960a13da39d2d68cdcafad (diff)
- markus@cvs.openbsd.org 2003/06/24 08:23:46
[auth2-hostbased.c auth2-pubkey.c auth2.c channels.c key.c key.h monitor.c packet.c packet.h serverloop.c sshconnect2.c sshd.c] int -> u_int; ok djm@, deraadt@, mouring@
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet.c b/packet.c
index 07e90b89..02221207 100644
--- a/packet.c
+++ b/packet.c
@@ -37,7 +37,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: packet.c,v 1.107 2003/06/10 22:20:52 deraadt Exp $");
+RCSID("$OpenBSD: packet.c,v 1.108 2003/06/24 08:23:46 markus Exp $");
#include "openbsd-compat/sys-queue.h"
@@ -108,7 +108,7 @@ static int compression_buffer_ready = 0;
static int packet_compression = 0;
/* default maximum packet size */
-int max_packet_size = 32768;
+u_int max_packet_size = 32768;
/* Flag indicating whether this module has been initialized. */
static int initialized = 0;
@@ -1446,8 +1446,8 @@ packet_is_interactive(void)
return interactive_mode;
}
-int
-packet_set_maxsize(int s)
+u_int
+packet_set_maxsize(u_int s)
{
static int called = 0;