summaryrefslogtreecommitdiff
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 07e90b899..022212074 100644
--- a/packet.c
+++ b/packet.c
@@ -37,7 +37,7 @@
37 */ 37 */
38 38
39#include "includes.h" 39#include "includes.h"
40RCSID("$OpenBSD: packet.c,v 1.107 2003/06/10 22:20:52 deraadt Exp $"); 40RCSID("$OpenBSD: packet.c,v 1.108 2003/06/24 08:23:46 markus Exp $");
41 41
42#include "openbsd-compat/sys-queue.h" 42#include "openbsd-compat/sys-queue.h"
43 43
@@ -108,7 +108,7 @@ static int compression_buffer_ready = 0;
108static int packet_compression = 0; 108static int packet_compression = 0;
109 109
110/* default maximum packet size */ 110/* default maximum packet size */
111int max_packet_size = 32768; 111u_int max_packet_size = 32768;
112 112
113/* Flag indicating whether this module has been initialized. */ 113/* Flag indicating whether this module has been initialized. */
114static int initialized = 0; 114static int initialized = 0;
@@ -1446,8 +1446,8 @@ packet_is_interactive(void)
1446 return interactive_mode; 1446 return interactive_mode;
1447} 1447}
1448 1448
1449int 1449u_int
1450packet_set_maxsize(int s) 1450packet_set_maxsize(u_int s)
1451{ 1451{
1452 static int called = 0; 1452 static int called = 0;
1453 1453