summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-07-05 07:57:53 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-07-05 07:57:53 +0000
commit5637bb0f7e7b41a470ac05189422acbc86c4a05f (patch)
tree00a64d62487a2ab65ed1cb5526583a022f138124
parent1e7f981d00467d42a37fabc57f408996a19611bb (diff)
don't limit to one remote server any more
-rw-r--r--usr.sbin/ntpd/parse.y7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/ntpd/parse.y b/usr.sbin/ntpd/parse.y
index da13af04bab..0c251109e10 100644
--- a/usr.sbin/ntpd/parse.y
+++ b/usr.sbin/ntpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.2 2004/06/17 19:17:48 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.3 2004/07/05 07:57:52 henning Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -138,11 +138,6 @@ conf_main : LISTEN ON address {
| SERVER address {
struct ntp_peer *p;
- if (!TAILQ_EMPTY(&conf->ntp_peers)) {
- yyerror("king bula sez: only on remote server "
- "supported for now");
- YYERROR;
- }
if ((p = calloc(1, sizeof(struct listen_addr))) == NULL)
fatal("parse conf_mail server on calloc");
memcpy(&p->ss, &$2, sizeof(struct sockaddr_storage));