diff options
author | 2004-10-22 21:24:20 +0000 | |
---|---|---|
committer | 2004-10-22 21:24:20 +0000 | |
commit | 2f63e4fed5514782aa298054688a2a4ed7041c17 (patch) | |
tree | c022f913d4283c84c6fc49d0590f4c260318f306 | |
parent | in server mode reply with stratum from the peer that we currently prefer (diff) | |
download | wireguard-openbsd-2f63e4fed5514782aa298054688a2a4ed7041c17.tar.xz wireguard-openbsd-2f63e4fed5514782aa298054688a2a4ed7041c17.zip |
oups
-rw-r--r-- | usr.sbin/ntpd/ntp_msg.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ntpd/ntp_msg.c b/usr.sbin/ntpd/ntp_msg.c index 93c3647d57d..00ac49e675e 100644 --- a/usr.sbin/ntpd/ntp_msg.c +++ b/usr.sbin/ntpd/ntp_msg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntp_msg.c,v 1.10 2004/10/22 21:17:37 henning Exp $ */ +/* $OpenBSD: ntp_msg.c,v 1.11 2004/10/22 21:24:20 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -30,8 +30,7 @@ int ntp_getmsg(char *p, ssize_t len, struct ntp_msg *msg) { if (len != NTP_MSGSIZE_NOAUTH && len != NTP_MSGSIZE) { - log_warnx("malformed packet received: len is %d should be %d " - "or with auth %d", len, NTP_MSGSIZE_NOAUTH, NTP_MSGSIZE); + log_warnx("malformed packet received"); return (-1); } |