From a7341359cc45bf965e3b11e0b22a4a06f335d6a7 Mon Sep 17 00:00:00 2001 From: Shawn Routhier Date: Tue, 27 Aug 2013 13:40:47 -0700 Subject: -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. --- client/dhc6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/dhc6.c') diff --git a/client/dhc6.c b/client/dhc6.c index 8974e7a6..33397183 100644 --- a/client/dhc6.c +++ b/client/dhc6.c @@ -1,7 +1,7 @@ /* dhc6.c - DHCPv6 client routines. */ /* - * Copyright (c) 2012 by Internet Systems Consortium, Inc. ("ISC") + * Copyright (c) 2012-2013 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 2006-2010 by Internet Systems Consortium, Inc. ("ISC") * * Permission to use, copy, modify, and distribute this software for any @@ -4947,7 +4947,7 @@ make_client6_options(struct client_state *client, struct option_state **op, lease ? lease->options : NULL, *op, &global_scope, client->config->on_transmission, - NULL); + NULL, NULL); /* Rapid-commit is only for SOLICITs. */ if (message != DHCPV6_SOLICIT) -- cgit v1.2.1