summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRyujiro Shibuya <ryujiro.shibuya@owmobility.com>2019-11-05 07:24:32 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-11-18 13:18:20 +0000
commitd451cbd0bdf7467ac8cb34f9658f92a5333852b0 (patch)
tree88305447e29146ad55e915a88cb3a794aeda9daf /src
parentfc000f0e1d61a9361e364a8f757e416fad7883b7 (diff)
tcp: correct validity check return value
Type: fix Signed-off-by: Ryujiro Shibuya <ryujiro.shibuya@owmobility.com> Change-Id: Ib59bf664d8da20516d8f16d716c5e8698675da4b (cherry picked from commit 3ea17d54a9a00c81bc672a7be1d48b765ac87ed2)
Diffstat (limited to 'src')
-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 f838d59e30a..690bdce4f86 100755
--- a/src/vnet/tcp/tcp_input.c
+++ b/src/vnet/tcp/tcp_input.c
@@ -2294,6 +2294,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;
}
}
}