diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-10-22 21:24:21 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-10-22 21:24:21 +0000 |
commit | 0b0993ba8e0c2156a6702f266c24ebff8ba1e3f3 (patch) | |
tree | 75ddc9465b50e5cb22fd446a411e2f6614c2d874 /usr.sbin/ntpd | |
parent | 3f1293c0ad68c13d655ccde898aed2224c143d35 (diff) |
oups
Diffstat (limited to 'usr.sbin/ntpd')
-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); } |