diff options
author | Shawn Routhier <sar@isc.org> | 2013-08-27 13:40:47 -0700 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2013-08-27 13:40:47 -0700 |
commit | a7341359cc45bf965e3b11e0b22a4a06f335d6a7 (patch) | |
tree | e17e1f70850dd009dc20efd2c852424cc617038e /server/ldap.c | |
parent | 8cd88e202bd734e40e006808311fb6688e9f0b47 (diff) | |
download | isc-dhcp-a7341359cc45bf965e3b11e0b22a4a06f335d6a7.tar.gz |
-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.
Diffstat (limited to 'server/ldap.c')
-rw-r--r-- | server/ldap.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/server/ldap.c b/server/ldap.c index 8a7d6955..efbc8744 100644 --- a/server/ldap.c +++ b/server/ldap.c @@ -628,10 +628,9 @@ ldap_start (void) options = NULL; option_state_allocate (&options, MDL); - execute_statements_in_scope ((struct binding_value **) NULL, - (struct packet *) NULL, (struct lease *) NULL, - (struct client_state *) NULL, (struct option_state *) NULL, - options, &global_scope, root_group, (struct group *) NULL); + execute_statements_in_scope (NULL, NULL, NULL, NULL, NULL + options, &global_scope, root_group, + NULL, NULL); ldap_server = _do_lookup_dhcp_string_option (options, SV_LDAP_SERVER); ldap_dhcp_server_cn = _do_lookup_dhcp_string_option (options, |