/[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.25 by likewise, Mon Jun 9 21:14:47 2003 UTC revision 1.26 by likewise, Mon Jun 9 21:32:55 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           * TODO: how do we know it is _listening_? */           * TODO: how do we know it is _listening_? */
207          ip_addr_set(&(lpcb->local_ip), ipaddr);          ip_addr_set(&(lpcb->local_ip), ipaddr);
208        }        }

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

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