From 9ca9649c1b42a683f917b06e911482e7c18ea0c4 Mon Sep 17 00:00:00 2001 From: christiaans Date: Fri, 5 May 2006 13:34:13 +0000 Subject: [PATCH] Disabled ARP table update on ingress IP packets. --- src/netif/ethernetif.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/netif/ethernetif.c b/src/netif/ethernetif.c index 0c14e8de..1a32afc8 100644 --- a/src/netif/ethernetif.c +++ b/src/netif/ethernetif.c @@ -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 */