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 |
} |
} |