X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fvcl%2Fvppcom.c;h=69d9285ff7e044de8728363d1ac8337e50be3695;hb=8ac1d6d05;hp=3205a812ce4db7e16f8b0bbdbf49cd5de388c53c;hpb=4f74e9ef34d2bf22c70b78f91613cfd43f9a7bd4;p=vpp.git diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c index 3205a812ce4..69d9285ff7e 100644 --- a/src/vcl/vppcom.c +++ b/src/vcl/vppcom.c @@ -1491,7 +1491,7 @@ vppcom_session_connect (uint32_t session_handle, vppcom_endpt_t * server_ep) clib_memcpy_fast (&session->transport.rmt_ip.ip6, server_ep->ip, sizeof (ip6_address_t)); session->transport.rmt_port = server_ep->port; - session->transport_opts = VCL_INVALID_SESSION_HANDLE; + session->parent_handle = VCL_INVALID_SESSION_HANDLE; VDBG (0, "session handle %u: connecting to server %s %U " "port %d proto %s", session_handle, @@ -1556,7 +1556,7 @@ vppcom_session_stream_connect (uint32_t session_handle, session->transport.is_ip4 = parent_session->transport.is_ip4; session->transport.rmt_ip.ip4.as_u32 = (uint32_t) 1; session->transport.rmt_port = 0; - session->transport_opts = parent_session->vpp_handle; + session->parent_handle = parent_session->vpp_handle; VDBG (0, "session handle %u: connecting to session %u [0x%llx]", session_handle, parent_session_handle, parent_session->vpp_handle);