From: Ted Lemon Date: Fri, 9 May 1997 08:20:12 +0000 (+0000) Subject: Check for BOOTREQUEST moved here X-Git-Tag: DHCP-970602~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c0257f226ccf8cbb9efc11ba665f8c07053071d9;p=thirdparty%2Fdhcp.git Check for BOOTREQUEST moved here --- diff --git a/server/bootp.c b/server/bootp.c index 4361d513b..f89ee8193 100644 --- a/server/bootp.c +++ b/server/bootp.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: bootp.c,v 1.25 1997/03/06 07:27:56 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: bootp.c,v 1.26 1997/05/09 08:20:12 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -64,6 +64,9 @@ void bootp (packet) struct iaddr ip_address; int i; + if (packet -> raw -> op != BOOTREQUEST) + return; + note ("BOOTREQUEST from %s via %s", print_hw_addr (packet -> raw -> htype, packet -> raw -> hlen,