/[lwip]/lwip/src/netif/etharp.c
ViewVC logotype

Diff of /lwip/src/netif/etharp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.83 by likewise, Thu Nov 25 13:32:31 2004 UTC revision 1.84 by likewise, Thu Nov 25 14:04:45 2004 UTC
# Line 433  etharp_ip_input(struct netif *netif, str Line 433  etharp_ip_input(struct netif *netif, str
433    /* Only insert an entry if the source IP address of the    /* Only insert an entry if the source IP address of the
434       incoming IP packet comes from a host on the local network. */       incoming IP packet comes from a host on the local network. */
435    hdr = p->payload;    hdr = p->payload;
436    /* source is on local network? */    /* source is not on the local network? */
437    if (!ip_addr_netcmp(&(hdr->ip.src), &(netif->ip_addr), &(netif->netmask))) {    if (!ip_addr_netcmp(&(hdr->ip.src), &(netif->ip_addr), &(netif->netmask))) {
438      /* do nothing */      /* do nothing */
439      return;      return;

Legend:
Removed from v.1.83  
changed lines
  Added in v.1.84

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26