mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-03 04:54:38 +08:00
fix warning
This commit is contained in:
parent
4ae13c6c26
commit
b0273c9209
@ -190,7 +190,7 @@ netif_set_ipaddr(struct netif *netif, struct ip_addr *ipaddr)
|
|||||||
if (ip_addr_cmp(&(pcb->local_ip), &(netif->ip_addr))) {
|
if (ip_addr_cmp(&(pcb->local_ip), &(netif->ip_addr))) {
|
||||||
/* The PCB is connected using the old ipaddr and must be aborted */
|
/* The PCB is connected using the old ipaddr and must be aborted */
|
||||||
struct tcp_pcb *next = pcb->next;
|
struct tcp_pcb *next = pcb->next;
|
||||||
DEBUGF(NETIF_DEBUG | 1, ("netif_set_ipaddr: aborting pcb %p\n", pcb));
|
DEBUGF(NETIF_DEBUG | 1, ("netif_set_ipaddr: aborting pcb %p\n", (void *)pcb));
|
||||||
tcp_abort(pcb);
|
tcp_abort(pcb);
|
||||||
pcb = next;
|
pcb = next;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user