Browse Source

knf!

OPENBSD_3_6
deraadt 20 years ago
parent
commit
e21e9e7c5b
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      src/usr.sbin/ntpd/client.c
  2. +2
    -2
      src/usr.sbin/ntpd/parse.y

+ 2
- 2
src/usr.sbin/ntpd/client.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: client.c,v 1.13 2004/07/07 06:50:40 henning Exp $ */
/* $OpenBSD: client.c,v 1.14 2004/07/07 06:51:16 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -116,7 +116,7 @@ client_dispatch(struct ntp_peer *p)
msg.orgtime.fraction != p->query->msg.xmttime.fraction)
return (0);
/*
/*
* From RFC 2030:
*
* Timestamp Name ID When Generated


+ 2
- 2
src/usr.sbin/ntpd/parse.y View File

@ -1,4 +1,4 @@
/* $OpenBSD: parse.y,v 1.6 2004/07/07 05:47:57 henning Exp $ */
/* $OpenBSD: parse.y,v 1.7 2004/07/07 06:51:16 deraadt Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -149,7 +149,7 @@ conf_main : LISTEN ON address {
| SERVER address {
struct ntp_peer *p;
struct ntp_addr *h, *next;
for (h = $2; h != NULL; h = next) {
next = h->next;
if (h->ss.ss_family != AF_INET &&


Loading…
Cancel
Save