From f699e497ecb1bf21d323647d9cfa1ba3837b3575 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 20 Jan 2016 16:59:01 +0100 Subject: [PATCH] Native fixed reset sequence --- app/src/main/jni/netguard/netguard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/jni/netguard/netguard.c b/app/src/main/jni/netguard/netguard.c index 6e26accb..0feb7d8c 100644 --- a/app/src/main/jni/netguard/netguard.c +++ b/app/src/main/jni/netguard/netguard.c @@ -983,7 +983,7 @@ jboolean handle_tcp(const struct arguments *args, const uint8_t *buffer, uint16_ struct tcp_session rst; memset(&rst, 0, sizeof(struct tcp_session)); rst.version = 4; - rst.remote_seq = ntohl(tcphdr->seq); + rst.remote_seq = tcphdr->seq; rst.saddr = iphdr->saddr; rst.source = tcphdr->source; rst.daddr = iphdr->daddr;