#ifndef lint
static char copyright[] =
-"$Id: packet.c,v 1.35 2000/09/20 09:03:34 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n";
+"$Id: packet.c,v 1.36 2000/09/20 10:08:51 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
if (len + data > buf + bufix + buflen) {
log_debug ("dropping packet with bogus uh_ulen %d",
len + sizeof *udp);
+ return -1;
+ }
}
usum = udp -> uh_sum;