From 7e4da0d1ef2a3fb1d55e3fbccf65b0dad65c543e Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sat, 10 Jan 2015 01:56:53 +0000 Subject: revert host() back to correct behavior. unbreak config file address parsing --- usr.sbin/ntpd/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') 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 * -- cgit v1.2.3