bug 2165: server replies to SYN (with option TS) with a SYNACK (with option TS) also if the attribute Timestamp is false
This commit is contained in:
@@ -2575,9 +2575,10 @@ TcpSocketBase::ReadOptions (const TcpHeader& header)
|
||||
}
|
||||
}
|
||||
|
||||
bool timestampAttribute = m_timestampEnabled;
|
||||
m_timestampEnabled = false;
|
||||
|
||||
if (header.HasOption (TcpOption::TS))
|
||||
if (header.HasOption (TcpOption::TS) && timestampAttribute)
|
||||
{
|
||||
m_timestampEnabled = true;
|
||||
ProcessOptionTimestamp (header.GetOption (TcpOption::TS));
|
||||
|
||||
Reference in New Issue
Block a user