summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2007-03-01 17:50:43 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2007-03-01 17:50:43 +0000
commit3da81a9995d5a6dc0178a745d758102b9add2866 (patch)
treecc8a8304190b88c36a74b4c819e5ece0af794705
parentb5abd399cf8711a76ae05fa5fd6b8eae49363166 (diff)
read buffer size must be >= max imsg size.
after release we should revisit this issue, we can probably safely shrink the max imsg size. Valentin Kozamernik in PR5401
-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 ccfeb63b07e..a7d6fd5ba7e 100644
--- a/usr.sbin/ntpd/ntpd.h
+++ b/usr.sbin/ntpd/ntpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntpd.h,v 1.81 2007/01/15 08:19:11 otto Exp $ */
+/* $OpenBSD: ntpd.h,v 1.82 2007/03/01 17:50:42 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -34,7 +34,7 @@
#define CONFFILE "/etc/ntpd.conf"
#define DRIFTFILE "/var/db/ntpd.drift"
-#define READ_BUF_SIZE 4096
+#define READ_BUF_SIZE 8192
#define NTPD_OPT_VERBOSE 0x0001
#define NTPD_OPT_VERBOSE2 0x0002