diff options
author | Florin Coras <fcoras@cisco.com> | 2023-11-28 11:30:42 -0800 |
---|---|---|
committer | Dave Barach <vpp@barachs.net> | 2023-11-28 22:02:16 +0000 |
commit | 6ae6c98d7c548c31520fd3e4bcc3bc39bd1b74e6 (patch) | |
tree | 3877bd9c6a7dbb676ba125fd076d3db361b14003 /src/vnet/tcp/tcp_input.c | |
parent | bffd4461d2a49063a41f34ca73bcb2249e205651 (diff) |
tcp: add counter for accepted connections
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I2925134cfcfa36c14b3b69efa892b9b96fce2e6f
Diffstat (limited to 'src/vnet/tcp/tcp_input.c')
-rw-r--r-- | src/vnet/tcp/tcp_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/tcp/tcp_input.c b/src/vnet/tcp/tcp_input.c index 88ae0a32b60..c069a9b08d6 100644 --- a/src/vnet/tcp/tcp_input.c +++ b/src/vnet/tcp/tcp_input.c @@ -2152,7 +2152,7 @@ tcp46_rcv_process_inline (vlib_main_t *vm, vlib_node_runtime_t *node, tcp_connection_cleanup (tc); goto drop; } - error = TCP_ERROR_ACK_OK; + error = TCP_ERROR_CONN_ACCEPTED; break; case TCP_STATE_ESTABLISHED: /* We can get packets in established state here because they |