summaryrefslogtreecommitdiffstats
path: root/src/vnet/tcp
diff options
context:
space:
mode:
authorSteven <sluong@cisco.com>2018-02-01 09:17:17 -0800
committerSteven <sluong@cisco.com>2018-02-01 09:17:17 -0800
commit5c42f50d2da0c1f32440d149abe246ad6498d273 (patch)
tree431bdf60539f9e3f015f6213440c00ba9300a3be /src/vnet/tcp
parent67a9e54cd4dddceb2f1e833d2840af506aa090be (diff)
tcp: tcp_output.c failed to compile when VLIB_BUFFER_TRACE_TRAJECTORY is enabled
Fixed a typo in tcp_push_header(). The typo only kicks in when the macro VLIB_BUFFER_TRACE_TRAJECTORY is enabled. Change-Id: I62832a4932ec5b14e3063d5eac113780851aae59 Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'src/vnet/tcp')
-rw-r--r--src/vnet/tcp/tcp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/tcp/tcp_output.c b/src/vnet/tcp/tcp_output.c
index 0eef942da83..78d64133c3a 100644
--- a/src/vnet/tcp/tcp_output.c
+++ b/src/vnet/tcp/tcp_output.c
@@ -1973,7 +1973,7 @@ tcp_push_header (transport_connection_t * tconn, vlib_buffer_t * b)
tc->rtt_ts = tcp_time_now ();
tc->rtt_seq = tc->snd_nxt;
}
- tcp_trajectory_add_start (b0, 3);
+ tcp_trajectory_add_start (b, 3);
return 0;
}