diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-04-30 01:33:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-04-30 01:33:34 +0000 |
commit | 88891af34bdcf99e8c1b229b8399598ae91e98a0 (patch) | |
tree | a4d8598afbba13bb1a319d0db76582895e46bfce | |
parent | ef9e7ea950d0f0a3e10ce33706c520e872a176f6 (diff) |
aggressive spelling fix, spotted by jbg
-rw-r--r-- | usr.sbin/ntpd/client.c | 6 | ||||
-rw-r--r-- | usr.sbin/ntpd/ntpd.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/ntpd/client.c b/usr.sbin/ntpd/client.c index ce59154e802..4b40442284b 100644 --- a/usr.sbin/ntpd/client.c +++ b/usr.sbin/ntpd/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.74 2006/10/27 12:22:41 henning Exp $ */ +/* $OpenBSD: client.c,v 1.75 2007/04/30 01:33:33 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -268,8 +268,8 @@ client_dispatch(struct ntp_peer *p, u_int8_t settime) if (p->trustlevel < TRUSTLEVEL_PATHETIC) interval = scale_interval(INTERVAL_QUERY_PATHETIC); - else if (p->trustlevel < TRUSTLEVEL_AGRESSIVE) - interval = scale_interval(INTERVAL_QUERY_AGRESSIVE); + else if (p->trustlevel < TRUSTLEVEL_AGGRESSIVE) + interval = scale_interval(INTERVAL_QUERY_AGGRESSIVE); else interval = scale_interval(INTERVAL_QUERY_NORMAL); diff --git a/usr.sbin/ntpd/ntpd.h b/usr.sbin/ntpd/ntpd.h index cd176fbd571..6f016cdc0a8 100644 --- a/usr.sbin/ntpd/ntpd.h +++ b/usr.sbin/ntpd/ntpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ntpd.h,v 1.83 2007/03/23 14:22:40 ckuethe Exp $ */ +/* $OpenBSD: ntpd.h,v 1.84 2007/04/30 01:33:33 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -41,11 +41,11 @@ #define INTERVAL_QUERY_NORMAL 30 /* sync to peers every n secs */ #define INTERVAL_QUERY_PATHETIC 60 -#define INTERVAL_QUERY_AGRESSIVE 5 +#define INTERVAL_QUERY_AGGRESSIVE 5 #define TRUSTLEVEL_BADPEER 6 #define TRUSTLEVEL_PATHETIC 2 -#define TRUSTLEVEL_AGRESSIVE 8 +#define TRUSTLEVEL_AGGRESSIVE 8 #define TRUSTLEVEL_MAX 10 #define MAX_SERVERS_DNS 8 |