From 0bce71eee3f144b7ad15cd008ccc9e646d6663f4 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Thu, 10 Feb 2022 11:57:06 -0800 Subject: session: use transport endpoint cfg for listen Makes it similar to connects. Type: improvement Signed-off-by: Florin Coras Change-Id: I38c328670054e1a9ba4dc4ea8fe7519a5a09e8be --- src/vnet/tcp/tcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vnet/tcp') diff --git a/src/vnet/tcp/tcp.c b/src/vnet/tcp/tcp.c index ffe5c895cc9..d97fafa6f24 100644 --- a/src/vnet/tcp/tcp.c +++ b/src/vnet/tcp/tcp.c @@ -112,7 +112,7 @@ tcp_cc_algo_new_type (const tcp_cc_algorithm_t * vft) } static u32 -tcp_connection_bind (u32 session_index, transport_endpoint_t * lcl) +tcp_connection_bind (u32 session_index, transport_endpoint_cfg_t *lcl) { tcp_main_t *tm = &tcp_main; tcp_connection_t *listener; @@ -147,7 +147,7 @@ tcp_connection_bind (u32 session_index, transport_endpoint_t * lcl) } static u32 -tcp_session_bind (u32 session_index, transport_endpoint_t * tep) +tcp_session_bind (u32 session_index, transport_endpoint_cfg_t *tep) { return tcp_connection_bind (session_index, tep); } -- cgit 1.2.3-korg