Disabled ARP table update on ingress IP packets.

This commit is contained in:
christiaans 2006-05-05 13:34:13 +00:00
parent 9a23e9839b
commit 9ca9649c1b

View File

@ -239,8 +239,12 @@ ethernetif_input(struct netif *netif)
switch (htons(ethhdr->type)) {
/* IP packet? */
case ETHTYPE_IP:
#if 0
/* CSi disabled ARP table update on ingress IP packets.
This seems to work but needs thorough testing. */
/* update ARP table */
etharp_ip_input(netif, p);
#endif
/* skip Ethernet header */
pbuf_header(p, -sizeof(struct eth_hdr));
/* pass to network layer */