#ifndef lint
static char copyright[] =
-"$Id: mdb.c,v 1.47 2000/12/28 23:34:08 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n";
+"$Id: mdb.c,v 1.48 2001/01/04 00:30:53 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
lease -> binding_state == FTS_BOOTP ||
lease -> binding_state == FTS_RESERVED) &&
lease -> next_binding_state != FTS_RELEASED) {
+ ddns_removals (lease);
if (lease -> on_expiry) {
- ddns_removals (lease);
execute_statements ((struct binding_value **)0,
(struct packet *)0, lease,
(struct client_state *)0,
lease -> binding_state == FTS_BOOTP ||
lease -> binding_state == FTS_RESERVED) &&
lease -> next_binding_state == FTS_RELEASED) {
+ ddns_removals (lease);
if (lease -> on_release) {
- ddns_removals (lease);
execute_statements ((struct binding_value **)0,
(struct packet *)0, lease,
(struct client_state *)0,
{
/* If there are statements to execute when the lease is
released, execute them. */
+ ddns_removals (lease);
if (lease -> on_release) {
- ddns_removals (lease);
execute_statements ((struct binding_value **)0,
packet, lease, (struct client_state *)0,
packet -> options,