lwip: fix tcp stable test abort issue

1. Modify dhcp server timer to 1 seconds
2. Enable ETHARP_TRUST_IP_MAC

modify according to review
This commit is contained in:
Liu Zhi Fu
2017-04-19 16:18:07 +08:00
parent 29b32be97c
commit ab37f89f55
5 changed files with 22 additions and 4 deletions

View File

@@ -670,8 +670,7 @@ etharp_get_entry(u8_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_a
*
* @see pbuf_free()
*/
static void
etharp_ip_input(struct netif *netif, struct pbuf *p)
void etharp_ip_input(struct netif *netif, struct pbuf *p)
{
struct eth_hdr *ethhdr;
struct ip_hdr *iphdr;