mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-25 20:38:36 +00:00
Select correct DHCP context when in PXE bootserver mode.
This commit is contained in:
1 parent
06568c6636
commit
7f8565b94c
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user