From: Brent Cook <[email protected]>

Match what parse.y and probably anything else would expect.

Noted by AC on slashdot, but I think it's probably a bug.

ok?
---
 src/usr.sbin/ntpd/config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/usr.sbin/ntpd/config.c b/src/usr.sbin/ntpd/config.c
index 48bdad7..3899aba 100644
--- a/src/usr.sbin/ntpd/config.c
+++ b/src/usr.sbin/ntpd/config.c
@@ -58,7 +58,7 @@ host(const char *s, struct ntp_addr **hn)
 
        *hn = h;
 
-       return (1);
+       return (-1);
 }
 
 struct ntp_addr        *
-- 
1.9.1

Reply via email to