mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 09:16:20 +00:00
tcp_set_state: fail on unimplemented state
This commit is contained in:
parent
2e4bb8b3b7
commit
fbef894674
@ -121,6 +121,8 @@ tcp_set_state(struct tcp_pcb* pcb, enum tcp_state state, struct ip_addr* local_i
|
||||
pcb->local_port = local_port;
|
||||
pcb->remote_ip.addr = remote_ip->addr;
|
||||
pcb->remote_port = remote_port;
|
||||
} else {
|
||||
fail();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user