diff options
| author | 2004-07-09 19:28:03 +0000 | |
|---|---|---|
| committer | 2004-07-09 19:28:03 +0000 | |
| commit | 02376c7de2a10f42ce8d152b62fe19c349113cc2 (patch) | |
| tree | 7180419d1459c432a06161cffe4a0aa4a7d4dd71 | |
| parent | Fix buffer writing in cd9660 code, written by Tom and myself, examined by toby (diff) | |
| download | wireguard-openbsd-02376c7de2a10f42ce8d152b62fe19c349113cc2.tar.xz wireguard-openbsd-02376c7de2a10f42ce8d152b62fe19c349113cc2.zip | |
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); } } |
