tcp: compute seq_end in tcp_input
[vpp.git] / src / vnet / tcp / tcp_debug.h
index d125ee8..5032588 100755 (executable)
@@ -821,6 +821,7 @@ if (TCP_DEBUG_CC > 1)                                                       \
 if (tcp_cc_time_to_print_stats (_tc))                                  \
 {                                                                      \
   TCP_EVT_CC_RTO_STAT_PRINT (_tc);                                     \
+  _tc->c_cc_stat_tstamp = tcp_time_now ();                             \
 }                                                                      \
 }
 
@@ -844,6 +845,7 @@ if (tcp_cc_time_to_print_stats (_tc))                                       \
 if (tcp_cc_time_to_print_stats (_tc))                                  \
 {                                                                      \
     TCP_EVT_CC_SND_STAT_PRINT(_tc);                                    \
+    _tc->c_cc_stat_tstamp = tcp_time_now ();                           \
 }                                                                      \
 }