summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2007-10-19 15:53:57 +0000
committerotto <otto@openbsd.org>2007-10-19 15:53:57 +0000
commite63cce50d0521601038d9ebd1962e0d6c9690cba (patch)
tree0966c9871ec9e8ee09e18fbd73b580b590537ca0
parentMake sure bufix is updated after copying options into the first overflow (diff)
downloadwireguard-openbsd-e63cce50d0521601038d9ebd1962e0d6c9690cba.tar.xz
wireguard-openbsd-e63cce50d0521601038d9ebd1962e0d6c9690cba.zip
don't fill the logs; spotted by deraadt@ ok henning@
-rw-r--r--usr.sbin/ntpd/ntp_msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/ntp_msg.c b/usr.sbin/ntpd/ntp_msg.c
index b136260fc3a..354b89b239e 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.17 2007/05/26 21:20:35 henning Exp $ */
+/* $OpenBSD: ntp_msg.c,v 1.18 2007/10/19 15:53:57 otto Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -29,7 +29,7 @@ int
ntp_getmsg(struct sockaddr *sa, char *p, ssize_t len, struct ntp_msg *msg)
{
if (len != NTP_MSGSIZE_NOAUTH && len != NTP_MSGSIZE) {
- log_warnx("malformed packet received from %s",
+ log_debug("malformed packet received from %s",
log_sockaddr(sa));
return (-1);
}