mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-04 05:39:53 +00:00
Once more: Try fix compile with clang
This commit is contained in:
parent
4b7e0f50b7
commit
5d5eeca008
@ -549,10 +549,12 @@ pcb_new(struct api_msg *msg)
|
||||
|
||||
LWIP_ASSERT("pcb_new: pcb already allocated", msg->conn->pcb.tcp == NULL);
|
||||
|
||||
#if LWIP_IPV6 && LWIP_IPV4
|
||||
/* IPv6: Dual-stack by default, unless netconn_set_ipv6only() is called */
|
||||
if(NETCONNTYPE_ISIPV6(netconn_type(msg->conn))) {
|
||||
iptype = IPADDR_TYPE_ANY;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Allocate a PCB for this connection */
|
||||
switch(NETCONNTYPE_GROUP(msg->conn->type)) {
|
||||
|
Loading…
Reference in New Issue
Block a user