summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ntpd/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ntpd/config.c b/usr.sbin/ntpd/config.c
index cb9f68b9e95..8646accbd8a 100644
--- a/usr.sbin/ntpd/config.c
+++ b/usr.sbin/ntpd/config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.c,v 1.13 2004/08/30 11:52:04 deraadt Exp $ */
+/* $OpenBSD: config.c,v 1.14 2004/08/30 12:02:59 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -53,6 +53,7 @@ host(const char *s, struct ntp_addr **hn)
if (h == NULL)
h = host_v6(s);
+ *hn = h;
if (h == NULL)
return (0);
return (1);