Browse Source

oups

OPENBSD_3_7
henning 19 years ago
parent
commit
5b5fccf2aa
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/usr.sbin/ntpd/ntp_msg.c

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

@ -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);
}


Loading…
Cancel
Save