summaryrefslogtreecommitdiff
path: root/server/dhcp.c
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2014-12-10 12:16:56 -0800
committerShawn Routhier <sar@isc.org>2014-12-10 12:16:56 -0800
commitdd9738aaaf76c6270891cde41140a5928eb02168 (patch)
treeb8a1dbdba8c8ac173299df0dd252f8cf4da37b65 /server/dhcp.c
parent2775bd6212daf007f622592521cb938247c33b8d (diff)
downloadisc-dhcp-dd9738aaaf76c6270891cde41140a5928eb02168.tar.gz
[master] Fix up code to process host declartions in informs
Change the stopping point for processing statements in the host portion of the inform processing from a host option to a subnet one. rt35712
Diffstat (limited to 'server/dhcp.c')
-rw-r--r--server/dhcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/dhcp.c b/server/dhcp.c
index 552955c8..b87b9535 100644
--- a/server/dhcp.c
+++ b/server/dhcp.c
@@ -1305,8 +1305,7 @@ void dhcpinform (packet, ms_nulltp)
execute_statements_in_scope(NULL, packet, NULL, NULL,
packet->options, options,
&global_scope, host->group,
- host->group ?
- host->group->next : NULL,
+ subnet->group,
NULL);
host_dereference (&host, MDL);
}