diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-07-09 19:28:04 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-07-09 19:28:04 +0000 |
commit | 1b05b51fd79f68f9807bec5448871081c86a65af (patch) | |
tree | 8a11fc42a473fc16bfab86013a1af1c8c19c0efc | |
parent | 9c4f20a4dd300777582d7433b89900f1f850cdeb (diff) |
Do not forget to initialize head. ok henning@
-rw-r--r-- | usr.sbin/ntpd/parse.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ntpd/parse.y b/usr.sbin/ntpd/parse.y index ad8796652b4..73bba735ebc 100644 --- a/usr.sbin/ntpd/parse.y +++ b/usr.sbin/ntpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.10 2004/07/09 10:53:33 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.11 2004/07/09 19:28:03 otto Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -163,6 +163,7 @@ conf_main : LISTEN ON address { fatal("conf_main server calloc"); h->next = NULL; p->addr = h; + p->addr_head = h; TAILQ_INSERT_TAIL(&conf->ntp_peers, p, entry); } } |