summaryrefslogtreecommitdiff
path: root/src/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.c')
-rw-r--r--src/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.c b/src/client.c
index c78f3b1..1c3fb4e 100644
--- a/src/client.c
+++ b/src/client.c
@@ -180,6 +180,7 @@ static int c_send_syn(struct o_c_sock *sock) {
.th_flags = TH_SYN
};
c_prep_s_addr(sock, &buf);
+ sock->seq_num++;
uint16_t tsz = htons(sizeof(buf));
buf.th_sum = ~csum_partial(&buf.th_seq, 16, csum_partial(&tsz, sizeof(tsz), sock->csum_p));