mirror of
https://github.com/apache/nuttx.git
synced 2025-12-20 04:09:12 +08:00
TCP/IPv6: Fix a compile issue when IPv6, but not IPv4 is enabled.
This commit is contained in:
@@ -300,7 +300,7 @@ static uint16_t psock_connect_interrupt(FAR struct net_driver_s *dev,
|
||||
else
|
||||
#endif
|
||||
{
|
||||
pstate->tc_conn->mss = TCP_IPv4_INITIAL_MSS(dev);
|
||||
pstate->tc_conn->mss = TCP_IPv6_INITIAL_MSS(dev);
|
||||
}
|
||||
#endif /* CONFIG_NET_IPv6 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user