diff options
author | dzwdz | 2022-08-24 12:31:20 +0200 |
---|---|---|
committer | dzwdz | 2022-08-24 12:31:20 +0200 |
commit | 039363ede4b868c8ea5cedce89c16123f91b2c05 (patch) | |
tree | fbbc4348a874184c0f31fe618309197edb9ce84f | |
parent | 9201820097ef333e967f72450dc18ea727c30e2e (diff) |
user/netstack: fix the sequence number when connecting
-rw-r--r-- | src/user/app/netstack/tcp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/user/app/netstack/tcp.c b/src/user/app/netstack/tcp.c index 9e6e3bb..2f13a31 100644 --- a/src/user/app/netstack/tcp.c +++ b/src/user/app/netstack/tcp.c @@ -134,6 +134,7 @@ struct tcp_conn *tcpc_new( conns_append(c); tcpc_sendraw(c, FlagSYN, NULL, 0); + c->lseq++; return c; } size_t tcpc_tryread(struct tcp_conn *c, void *buf, size_t len) { |