Browse Source

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
OPENBSD_4_1
henning 17 years ago
parent
commit
fcd399814f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/usr.sbin/ntpd/ntpd.h

+ 2
- 2
src/usr.sbin/ntpd/ntpd.h View File

@ -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> * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -34,7 +34,7 @@
#define CONFFILE "/etc/ntpd.conf" #define CONFFILE "/etc/ntpd.conf"
#define DRIFTFILE "/var/db/ntpd.drift" #define DRIFTFILE "/var/db/ntpd.drift"
#define READ_BUF_SIZE 4096
#define READ_BUF_SIZE 8192
#define NTPD_OPT_VERBOSE 0x0001 #define NTPD_OPT_VERBOSE 0x0001
#define NTPD_OPT_VERBOSE2 0x0002 #define NTPD_OPT_VERBOSE2 0x0002


Loading…
Cancel
Save