diff options
author | Florin Coras <fcoras@cisco.com> | 2022-02-10 11:57:06 -0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2022-02-10 21:17:16 +0000 |
commit | 0bce71eee3f144b7ad15cd008ccc9e646d6663f4 (patch) | |
tree | d9f4798fd127d48cbf7bf9d5b17aaf5cd5473cd9 /src/vnet/tcp | |
parent | efeea5b111db9075ffdab73191f6343f6872bfb2 (diff) |
session: use transport endpoint cfg for listen
Makes it similar to connects.
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I38c328670054e1a9ba4dc4ea8fe7519a5a09e8be
Diffstat (limited to 'src/vnet/tcp')
-rw-r--r-- | src/vnet/tcp/tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |