mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
Networking: Move net/inet/net_monitor.c to net/tcp/tcp_monitor.c in preparation for design change to fix monitoring of duplicated sockets.
This commit is contained in:
@@ -443,7 +443,7 @@ static uint16_t tcp_send_interrupt(FAR struct net_driver_s *dev,
|
||||
|
||||
ninfo("Lost connection\n");
|
||||
|
||||
net_lostconnection(sinfo->s_sock, flags);
|
||||
tcp_lost_connection(sinfo->s_sock, flags);
|
||||
sinfo->s_result = -ENOTCONN;
|
||||
goto end_wait;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user