summaryrefslogtreecommitdiff
path: root/server/dhcp.c
diff options
context:
space:
mode:
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);
}