Browse Source

shrink read buffer size from 64k to 4k, this is not bgpd and we're dealing

with way less data
OPENBSD_3_8
henning 19 years ago
parent
commit
2d70ef1866
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.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> * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -33,7 +33,7 @@
#define NTPD_USER "_ntp" #define NTPD_USER "_ntp"
#define CONFFILE "/etc/ntpd.conf" #define CONFFILE "/etc/ntpd.conf"
#define READ_BUF_SIZE 65535
#define READ_BUF_SIZE 4096
#define NTPD_OPT_VERBOSE 0x0001 #define NTPD_OPT_VERBOSE 0x0001
#define NTPD_OPT_VERBOSE2 0x0002 #define NTPD_OPT_VERBOSE2 0x0002


Loading…
Cancel
Save