summaryrefslogtreecommitdiffstats
path: root/src/plugins/unittest/tcp_test.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-12-27 11:53:11 -0800
committerFlorin Coras <florin.coras@gmail.com>2018-12-28 20:41:44 +0000
commit5a2ec8fc41d14ffc5275ab88761c1fb7e0420a33 (patch)
tree428fcbd4923da925981717fcfba87fdd55be494b /src/plugins/unittest/tcp_test.c
parentfa915f8180d620b5325789200e08fec674d390ba (diff)
session: free session after transport and app confirm
In addition to that, a bit of refactoring. Change-Id: Iea1eabc2167bcdef185ec53bc09bae087c5398e6 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/unittest/tcp_test.c b/src/plugins/unittest/tcp_test.c
index bbb80404019..66260df2ff6 100644
--- a/src/plugins/unittest/tcp_test.c
+++ b/src/plugins/unittest/tcp_test.c
@@ -1795,7 +1795,7 @@ tcp_test_session (vlib_main_t * vm, unformat_input_t * input)
{
tc0 = tcp_connection_get (0 /* connection index */ , 0 /* thread */ );
tc0->state = TCP_STATE_CLOSED;
- stream_session_disconnect_notify (&tc0->connection);
+ session_transport_closing_notify (&tc0->connection);
}
return rv;