summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2015-01-10 01:56:53 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2015-01-10 01:56:53 +0000
commit7e4da0d1ef2a3fb1d55e3fbccf65b0dad65c543e (patch)
tree1075d9f9343033de8c6b01f2ea090f7eb06a36a6 /usr.sbin
parent6701df27fe85c51d8f9277391dc663255241164b (diff)
revert host() back to correct behavior.
unbreak config file address parsing
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ntpd/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/config.c b/usr.sbin/ntpd/config.c
index cd13a38435a..21a5cba1f92 100644
--- a/usr.sbin/ntpd/config.c
+++ b/usr.sbin/ntpd/config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.c,v 1.20 2015/01/09 23:48:21 bcook Exp $ */
+/* $OpenBSD: config.c,v 1.21 2015/01/10 01:56:52 bcook Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -58,7 +58,7 @@ host(const char *s, struct ntp_addr **hn)
*hn = h;
- return (-1);
+ return (1);
}
struct ntp_addr *