src/internet/model/tcp-socket-base.cc
changeset 11632 88d6e64c778c
parent 11598 b4d1339b4913
child 11633 6b74df04cf44
--- a/src/internet/model/tcp-socket-base.cc	Fri Sep 04 01:10:45 2015 +0200
+++ b/src/internet/model/tcp-socket-base.cc	Thu Sep 03 21:12:22 2015 -0700
@@ -2575,9 +2575,10 @@
         }
     }
 
+  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));