Once more: Try fix compile with clang

This commit is contained in:
Dirk Ziegelmeier 2016-11-17 09:23:57 +01:00
parent 4b7e0f50b7
commit 5d5eeca008

View File

@ -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)) {