mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-30 21:32:46 +00:00
do_connect: LWIP_ERROR on invalid/disabled protocol
This commit is contained in:
parent
cff3e0cad2
commit
8a7c1c4926
@ -807,6 +807,8 @@ do_connect(struct api_msg_msg *msg)
|
|||||||
break;
|
break;
|
||||||
#endif /* LWIP_TCP */
|
#endif /* LWIP_TCP */
|
||||||
default:
|
default:
|
||||||
|
LWIP_ERROR("Invalid netconn type", 0, do{ msg->conn->err = ERR_VAL;
|
||||||
|
sys_sem_signal(msg->conn->op_completed); }while(0));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user