tcp: add close-wait state flags 96/12996/2
authorFlorin Coras <fcoras@cisco.com>
Mon, 11 Jun 2018 20:15:11 +0000 (13:15 -0700)
committerDave Wallace <dwallacelf@gmail.com>
Tue, 12 Jun 2018 18:27:22 +0000 (18:27 +0000)
Change-Id: I35508d5251633396393f52842d1b58bc1c1463f6
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vnet/tcp/tcp_output.c

index 8a88bf8..46bea7a 100644 (file)
@@ -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;