internet: Revert # of available ports to pass the test

This commit is contained in:
F5
2023-11-14 20:40:10 +08:00
parent 0df9cb6264
commit 55d6b56a89
2 changed files with 4 additions and 4 deletions

View File

@@ -30,9 +30,9 @@ namespace ns3
NS_LOG_COMPONENT_DEFINE("Ipv4EndPointDemux");
Ipv4EndPointDemux::Ipv4EndPointDemux()
: m_ephemeral(1024),
: m_ephemeral(49152),
m_portLast(65535),
m_portFirst(1024)
m_portFirst(49152)
{
NS_LOG_FUNCTION(this);
}

View File

@@ -29,8 +29,8 @@ namespace ns3
NS_LOG_COMPONENT_DEFINE("Ipv6EndPointDemux");
Ipv6EndPointDemux::Ipv6EndPointDemux()
: m_ephemeral(1024),
m_portFirst(1024),
: m_ephemeral(49152),
m_portFirst(49152),
m_portLast(65535)
{
NS_LOG_FUNCTION(this);