aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/tcp
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-06-11 13:15:11 -0700
committerDave Wallace <dwallacelf@gmail.com>2018-06-12 18:27:22 +0000
commit00dfe54eec347bea779c861b0a1de59ab7680aa8 (patch)
tree50117964f83134d87334ab26db3dc40e4235ab8d /src/vnet/tcp
parente2552039dfcf91fe9f7b237da5fd1b74bf449ca2 (diff)
tcp: add close-wait state flags
Change-Id: I35508d5251633396393f52842d1b58bc1c1463f6 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/tcp')
-rw-r--r--src/vnet/tcp/tcp_output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/tcp/tcp_output.c b/src/vnet/tcp/tcp_output.c
index 8a88bf80b13..46bea7a6f6a 100644
--- a/src/vnet/tcp/tcp_output.c
+++ b/src/vnet/tcp/tcp_output.c
@@ -1090,6 +1090,7 @@ tcp_make_state_flags (tcp_connection_t * tc, tcp_state_t next_state)
switch (next_state)
{
case TCP_STATE_ESTABLISHED:
+ case TCP_STATE_CLOSE_WAIT:
return TCP_FLAG_ACK;
case TCP_STATE_SYN_RCVD:
return TCP_FLAG_SYN | TCP_FLAG_ACK;