提交 da9688df 编写于 作者: R ruiqian 提交者: GitHub

Update dhcp_server.c

上级 8c52d5fd
......@@ -122,7 +122,10 @@ static rt_err_t _low_level_dhcp_send(struct netif *netif,
memcpy((char *)udphdr + sizeof(struct udp_hdr),
buffer, size);
return netif->linkoutput(netif, p);
netif->linkoutput(netif, p);
pbuf_free(p);
return RT_EOK;
}
static void dhcpd_thread_entry(void *parameter)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册