diff options
author | Florin Coras <fcoras@cisco.com> | 2019-02-05 20:55:11 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-02-09 16:17:32 +0000 |
commit | c9940fc20bf248ba10dad10108415219f0f8360f (patch) | |
tree | bf18da0d4a869dece31e2dd0f0daa1ce922b3c10 /src/plugins/unittest/tcp_test.c | |
parent | 6164e97e0f2fddadea90fd24cd0ea4e629ba9b26 (diff) |
session: refactor listen logic
Make app-listener the handle for app listens. Consequently transport and
local listen sessions are now associated to the app-listener.
Change-Id: I9397a26d42cccb100970b6b4794c15bac2e11465
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/plugins/unittest/tcp_test.c')
-rw-r--r-- | src/plugins/unittest/tcp_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/unittest/tcp_test.c b/src/plugins/unittest/tcp_test.c index 5905dc2adab..c259f9d9a03 100644 --- a/src/plugins/unittest/tcp_test.c +++ b/src/plugins/unittest/tcp_test.c @@ -1785,7 +1785,7 @@ tcp_test_session (vlib_main_t * vm, unformat_input_t * input) TCP_EVT_DBG (TCP_EVT_OPEN, tc0); - if (stream_session_accept (&tc0->connection, 0 /* listener index */ , + if (session_stream_accept (&tc0->connection, 0 /* listener index */ , 0 /* notify */ )) clib_warning ("stream_session_accept failed"); |