mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
Use lt -> scope, not lease -> scope, which is probably empty.
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
"$Id: dhcp.c,v 1.166 2000/09/12 20:09:14 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
|
"$Id: dhcp.c,v 1.167 2000/09/14 12:15:33 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -1789,7 +1789,7 @@ void ack_lease (packet, lease, offer, when, msg, ms_nulltp)
|
|||||||
if (lease -> on_commit && (!offer || offer == DHCPACK)) {
|
if (lease -> on_commit && (!offer || offer == DHCPACK)) {
|
||||||
execute_statements ((struct binding_value **)0,
|
execute_statements ((struct binding_value **)0,
|
||||||
packet, lt, packet -> options,
|
packet, lt, packet -> options,
|
||||||
state -> options, &lease -> scope,
|
state -> options, < -> scope,
|
||||||
lease -> on_commit);
|
lease -> on_commit);
|
||||||
if (lease -> on_commit)
|
if (lease -> on_commit)
|
||||||
executable_statement_dereference (&lease -> on_commit,
|
executable_statement_dereference (&lease -> on_commit,
|
||||||
|
Reference in New Issue
Block a user