summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-07-15 03:37:16 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-07-15 03:37:16 +0000
commit18ec708acb10b7543bd6896ad2d116ea488445f4 (patch)
treeba896bbc780ae2e47ac9e9a87581d8c78ded73db /usr.sbin
parentbf785ccaeb0faf0703acabffc3a9a2f2f18dd0af (diff)
shrink read buffer size from 64k to 4k, this is not bgpd and we're dealing
with way less data
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ntpd/ntpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/ntpd.h b/usr.sbin/ntpd/ntpd.h
index b2ca5c651ad..6b898b1d870 100644
--- a/usr.sbin/ntpd/ntpd.h
+++ b/usr.sbin/ntpd/ntpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntpd.h,v 1.58 2005/07/05 10:09:12 dtucker Exp $ */
+/* $OpenBSD: ntpd.h,v 1.59 2005/07/15 03:37:15 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -33,7 +33,7 @@
#define NTPD_USER "_ntp"
#define CONFFILE "/etc/ntpd.conf"
-#define READ_BUF_SIZE 65535
+#define READ_BUF_SIZE 4096
#define NTPD_OPT_VERBOSE 0x0001
#define NTPD_OPT_VERBOSE2 0x0002