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

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

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

revision 1.28.2.1 by likewise, Mon Oct 6 14:54:23 2003 UTC revision 1.28.2.2 by jani, Wed Oct 8 10:01:40 2003 UTC
# Line 202  netif_set_ipaddr(struct netif *netif, st Line 202  netif_set_ipaddr(struct netif *netif, st
202        /* PCB bound to current local interface address? */        /* PCB bound to current local interface address? */
203        if (ip_addr_cmp(&(lpcb->local_ip), &(netif->ip_addr))) {        if (ip_addr_cmp(&(lpcb->local_ip), &(netif->ip_addr))) {
204          /* The PCB is listening to the old ipaddr and          /* The PCB is listening to the old ipaddr and
205           * is set to listen to the new one instead           * is set to listen to the new one instead */
206          ip_addr_set(&(lpcb->local_ip), ipaddr);          ip_addr_set(&(lpcb->local_ip), ipaddr);
207        }        }
208      }      }

Legend:
Removed from v.1.28.2.1  
changed lines
  Added in v.1.28.2.2

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