mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Use tags from pxe-proxy dhcp-range statements.
This commit is contained in:
@@ -848,8 +848,16 @@ size_t dhcp_reply(struct dhcp_context *context, char *iface_name, int int_index,
|
|||||||
|
|
||||||
if (tmp)
|
if (tmp)
|
||||||
{
|
{
|
||||||
struct dhcp_boot *boot = find_boot(tagif_netid);
|
struct dhcp_boot *boot;
|
||||||
|
|
||||||
|
if (tmp->netid.net)
|
||||||
|
{
|
||||||
|
tmp->netid.next = netid;
|
||||||
|
tagif_netid = run_tag_if(&tmp->netid);
|
||||||
|
}
|
||||||
|
|
||||||
|
boot = find_boot(tagif_netid);
|
||||||
|
|
||||||
mess->yiaddr.s_addr = 0;
|
mess->yiaddr.s_addr = 0;
|
||||||
if (mess_type == DHCPDISCOVER || mess->ciaddr.s_addr == 0)
|
if (mess_type == DHCPDISCOVER || mess->ciaddr.s_addr == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user