From d66f7231050090fd4599b00a813616d0fbe31042 Mon Sep 17 00:00:00 2001 From: bcook <> Date: Sat, 10 Jan 2015 01:56:52 +0000 Subject: [PATCH] revert host() back to correct behavior. unbreak config file address parsing --- src/usr.sbin/ntpd/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/usr.sbin/ntpd/config.c b/src/usr.sbin/ntpd/config.c index cd13a384..21a5cba1 100644 --- a/src/usr.sbin/ntpd/config.c +++ b/src/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 *