From: bcook Date: Sat, 10 Jan 2015 01:56:52 +0000 (+0000) Subject: revert host() back to correct behavior. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=910f6a33e74e25d60aa43ab6ea3c2724bea2ab8e;p=openbsd revert host() back to correct behavior. unbreak config file address parsing --- 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 @@ -58,7 +58,7 @@ host(const char *s, struct ntp_addr **hn) *hn = h; - return (-1); + return (1); } struct ntp_addr *