sctp: sctp_output.c failed to compile when VLIB_BUFFER_TRACE_TRAJECTORY is enabled 47/10847/2
authorSteven <sluong@cisco.com>
Tue, 27 Feb 2018 18:29:32 +0000 (10:29 -0800)
committerDave Barach <openvpp@barachs.net>
Tue, 27 Feb 2018 20:12:55 +0000 (20:12 +0000)
Fixed a typo in sctp_push_header(). It was inherited from tcp_output.c

Change-Id: I810fcb4c24cfd3d54f15da72a5184cfc4df24592
Signed-off-by: Steven <sluong@cisco.com>
src/vnet/sctp/sctp_output.c

index 5e64ca7..b735127 100644 (file)
@@ -1381,7 +1381,7 @@ sctp_push_header (transport_connection_t * trans_conn, vlib_buffer_t * b)
 
   sctp_push_hdr_i (sctp_conn, b, SCTP_STATE_ESTABLISHED);
 
-  sctp_trajectory_add_start (b0, 3);
+  sctp_trajectory_add_start (b, 3);
 
   return 0;
 }