aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyujiro Shibuya <ryujiro.shibuya@owmobility.com>2019-11-05 07:24:32 +0000
committerFlorin Coras <florin.coras@gmail.com>2019-11-05 15:15:18 +0000
commit3ea17d54a9a00c81bc672a7be1d48b765ac87ed2 (patch)
tree685ec72adeeade23c432476eb03ac755fc12ff4c
parent45a95dd782b91e9ae5665b5f95be4b6d7f99b879 (diff)
tcp: correct validity check return value
Type: fix Signed-off-by: Ryujiro Shibuya <ryujiro.shibuya@owmobility.com> Change-Id: Ib59bf664d8da20516d8f16d716c5e8698675da4b
-rwxr-xr-xsrc/vnet/tcp/tcp_input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/tcp/tcp_input.c b/src/vnet/tcp/tcp_input.c
index 83769465525..b2dc2f7b1a8 100755
--- a/src/vnet/tcp/tcp_input.c
+++ b/src/vnet/tcp/tcp_input.c
@@ -2291,6 +2291,7 @@ tcp_lookup_is_valid (tcp_connection_t * tc, tcp_header_t * hdr)
&& tmp->rmt_port == hdr->src_port)
{
TCP_DBG ("half-open is valid!");
+ is_valid = 1;
}
}
}