summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-05-19 19:33:19 -0700
committerDamjan Marion <dmarion@me.com>2021-05-20 10:03:46 +0000
commit05bc33c15d814409933d741f6c88c450c4392fc9 (patch)
treec709da4c041522ebafe5a73a34b0649c0fab761f
parent72afc4feb78489cf2f77b1bab46b71a0427133bc (diff)
session: fix transport half-open cleanup call
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I47d241a8f2f9e9d0761d14dcddd3327c3b28932c
-rw-r--r--src/vnet/session/transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/transport.c b/src/vnet/session/transport.c
index 5975197609d..526f1a2da15 100644
--- a/src/vnet/session/transport.c
+++ b/src/vnet/session/transport.c
@@ -307,7 +307,7 @@ transport_cleanup (transport_proto_t tp, u32 conn_index, u8 thread_index)
void
transport_cleanup_half_open (transport_proto_t tp, u32 conn_index)
{
- if (tp_vfts[tp].cleanup)
+ if (tp_vfts[tp].cleanup_ho)
tp_vfts[tp].cleanup_ho (conn_index);
}