mirror of https://github.com/M66B/NetGuard.git
Native fixed reset sequence
This commit is contained in:
parent
ac30913034
commit
f699e497ec
|
@ -983,7 +983,7 @@ jboolean handle_tcp(const struct arguments *args, const uint8_t *buffer, uint16_
|
||||||
struct tcp_session rst;
|
struct tcp_session rst;
|
||||||
memset(&rst, 0, sizeof(struct tcp_session));
|
memset(&rst, 0, sizeof(struct tcp_session));
|
||||||
rst.version = 4;
|
rst.version = 4;
|
||||||
rst.remote_seq = ntohl(tcphdr->seq);
|
rst.remote_seq = tcphdr->seq;
|
||||||
rst.saddr = iphdr->saddr;
|
rst.saddr = iphdr->saddr;
|
||||||
rst.source = tcphdr->source;
|
rst.source = tcphdr->source;
|
||||||
rst.daddr = iphdr->daddr;
|
rst.daddr = iphdr->daddr;
|
||||||
|
|
Loading…
Reference in New Issue