diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-06-17 19:17:49 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-06-17 19:17:49 +0000 |
commit | b4ad8c9613e23bfa3e8ee4bae1b99b115fd63661 (patch) | |
tree | e13c30549b43adad7446b7ccd3677e945b6cce7f /usr.sbin/ntpd/ntpd.c | |
parent | f9e4cdc6e99bc859ee7e13773d3407643fe12f04 (diff) |
provide most of the client functionality.
hook the descriptors into the main poll and such.
we're not doing anything with the reply we recive yet, tho.
mostly hacked on the Frankfurt->Montreal flight, as batteries and those
horrible air canada seats permitted...
Diffstat (limited to 'usr.sbin/ntpd/ntpd.c')
-rw-r--r-- | usr.sbin/ntpd/ntpd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ntpd/ntpd.c b/usr.sbin/ntpd/ntpd.c index a60cb153adc..7d6eadac1d9 100644 --- a/usr.sbin/ntpd/ntpd.c +++ b/usr.sbin/ntpd/ntpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntpd.c,v 1.4 2004/06/01 21:58:08 henning Exp $ */ +/* $OpenBSD: ntpd.c,v 1.5 2004/06/17 19:17:48 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -91,6 +91,7 @@ main(int argc, char *argv[]) bzero(&conf, sizeof(conf)); TAILQ_INIT(&conf.listen_addrs); + TAILQ_INIT(&conf.ntp_peers); log_init(1); /* log to stderr until daemonized */ |