#ifndef lint
static char copyright[] =
-"$Id: bootp.c,v 1.51 1999/07/06 17:07:12 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
+"$Id: bootp.c,v 1.52 1999/07/18 19:38:33 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
SV_ALLOW_BOOTP))) {
log_info ("%s: bootp disallowed", msgbuf);
option_state_dereference (&options, "bootrequest");
+ static_lease_dereference (lease, "bootrequest");
return;
}
SV_ALLOW_BOOTING))) {
log_info ("%s: booting disallowed", msgbuf);
option_state_dereference (&options, "bootrequest");
+ static_lease_dereference (lease, "bootrequest");
return;
}
data_string_forget (&d1, "bootrequest");
}
+ /* Execute the commit statements, if there are any. */
+ execute_statements (packet, lease, packet -> options,
+ state -> options, lease -> on_commit);
+
/* We're done with the option state. */
option_state_dereference (&options, "bootrequest");
+ static_lease_dereference (lease, "bootrequest");
/* Set up the hardware destination address... */
hto.htype = packet -> raw -> htype;