mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 00:52:11 +08:00
NET: Rename TCP state values: UIP_ -> TCP_
This commit is contained in:
@@ -141,8 +141,8 @@ int net_startmonitor(FAR struct socket *psock)
|
||||
* the monitoring callback.)
|
||||
*/
|
||||
|
||||
if (!(conn->tcpstateflags == UIP_ESTABLISHED ||
|
||||
conn->tcpstateflags == UIP_SYN_RCVD))
|
||||
if (!(conn->tcpstateflags == TCP_ESTABLISHED ||
|
||||
conn->tcpstateflags == TCP_SYN_RCVD))
|
||||
{
|
||||
connection_event(conn, UIP_CLOSE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user