From c0257f226ccf8cbb9efc11ba665f8c07053071d9 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Fri, 9 May 1997 08:20:12 +0000 Subject: [PATCH] Check for BOOTREQUEST moved here --- server/bootp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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, -- 2.47.3