/[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.33 by davidhaas, Wed Mar 19 22:14:49 2003 UTC revision 1.34 by jani, Fri Mar 21 10:34:47 2003 UTC
# Line 646  struct pbuf *etharp_query(struct netif * Line 646  struct pbuf *etharp_query(struct netif *
646    u8_t i;    u8_t i;
647    
648    srcaddr = (struct eth_addr *)netif->hwaddr;    srcaddr = (struct eth_addr *)netif->hwaddr;
   i = 0;  
649    /* bail out if this IP address is pending */    /* bail out if this IP address is pending */
650    for(i; i < ARP_TABLE_SIZE; ++i) {    for(i = 0; i < ARP_TABLE_SIZE; ++i) {
651      if(ip_addr_cmp(ipaddr, &arp_table[i].ipaddr)) {      if(ip_addr_cmp(ipaddr, &arp_table[i].ipaddr)) {
652        if (arp_table[i].state == ETHARP_STATE_PENDING) {        if (arp_table[i].state == ETHARP_STATE_PENDING) {
653          DEBUGF(ETHARP_DEBUG, ("etharp_query: requested IP already pending\n"));          DEBUGF(ETHARP_DEBUG, ("etharp_query: requested IP already pending\n"));

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

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