Update dhcp_server.c
This commit is contained in:
parent
8c52d5fdf2
commit
da9688df86
@ -122,7 +122,10 @@ static rt_err_t _low_level_dhcp_send(struct netif *netif,
|
|||||||
memcpy((char *)udphdr + sizeof(struct udp_hdr),
|
memcpy((char *)udphdr + sizeof(struct udp_hdr),
|
||||||
buffer, size);
|
buffer, size);
|
||||||
|
|
||||||
return netif->linkoutput(netif, p);
|
netif->linkoutput(netif, p);
|
||||||
|
pbuf_free(p);
|
||||||
|
|
||||||
|
return RT_EOK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void dhcpd_thread_entry(void *parameter)
|
static void dhcpd_thread_entry(void *parameter)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user