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