summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2005-07-15 03:37:15 +0000
committerhenning <henning@openbsd.org>2005-07-15 03:37:15 +0000
commitda090b3517120fa8cf3dd25d0c1fb6fef2e94c97 (patch)
treea5f0d6524760424858dd896d7294c9620c16d339
parentremove recently added "using privsep user X" message, spams console in -s (diff)
downloadwireguard-openbsd-da090b3517120fa8cf3dd25d0c1fb6fef2e94c97.tar.xz
wireguard-openbsd-da090b3517120fa8cf3dd25d0c1fb6fef2e94c97.zip
shrink read buffer size from 64k to 4k, this is not bgpd and we're dealing
with way less data
-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