Browse Source

revert host() back to correct behavior.

unbreak config file address parsing
OPENBSD_5_7
bcook 9 years ago
parent
commit
d66f723105
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/usr.sbin/ntpd/config.c

+ 2
- 2
src/usr.sbin/ntpd/config.c View File

@ -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> * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -58,7 +58,7 @@ host(const char *s, struct ntp_addr **hn)
*hn = h; *hn = h;
return (-1);
return (1);
} }
struct ntp_addr * struct ntp_addr *


Loading…
Cancel
Save