mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +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
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
pstate->tc_conn->mss = TCP_IPv4_INITIAL_MSS(dev);
|
pstate->tc_conn->mss = TCP_IPv6_INITIAL_MSS(dev);
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_NET_IPv6 */
|
#endif /* CONFIG_NET_IPv6 */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user