TCP/IPv6: Fix a compile issue when IPv6, but not IPv4 is enabled.

This commit is contained in:
Gregory Nutt 2017-03-31 10:45:39 -06:00
parent 41912ed98c
commit 755b05ff30
1 changed files with 1 additions and 1 deletions

View File

@ -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 */