Commit 7f8565b9 authored by Simon Kelley's avatar Simon Kelley

Select correct DHCP context when in PXE bootserver mode.

parent 06568c66
...@@ -805,7 +805,7 @@ size_t dhcp_reply(struct dhcp_context *context, char *iface_name, int int_index, ...@@ -805,7 +805,7 @@ size_t dhcp_reply(struct dhcp_context *context, char *iface_name, int int_index,
if (service->type == type) if (service->type == type)
break; break;
if (!service || !service->basename) if (!service || !service->basename || !(context = narrow_context(context, mess->ciaddr, tagif_netid)))
return 0; return 0;
clear_packet(mess, end); clear_packet(mess, end);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment