mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
-n [master]
[rt27912] Add code to suppor on {commit expiry release} statements for DHCPv6. There are several pieces to this change 1) Add space in the iasubopt structure to hold the statement pointers 2) Update the execute code to fill in the structures as necessary 3) Execute the statements when appropriate Many of the changes in the non-v6 code are to pass the v6 structures around to the execute code.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
Handling for client classes. */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009,2012 by Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (c) 2009,2012-2013 by Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (c) 2004,2007 by Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (c) 1998-2003 by Internet Software Consortium
|
||||
*
|
||||
@@ -69,10 +69,8 @@ void classification_setup ()
|
||||
void classify_client (packet)
|
||||
struct packet *packet;
|
||||
{
|
||||
execute_statements ((struct binding_value **)0, packet,
|
||||
(struct lease *)0, (struct client_state *)0,
|
||||
packet -> options, (struct option_state *)0,
|
||||
&global_scope, default_classification_rules);
|
||||
execute_statements (NULL, packet, NULL, NULL, packet->options, NULL,
|
||||
&global_scope, default_classification_rules, NULL);
|
||||
}
|
||||
|
||||
int check_collection (packet, lease, collection)
|
||||
|
Reference in New Issue
Block a user