Native fixed reset sequence

This commit is contained in:
M66B 2016-01-20 16:59:01 +01:00
parent ac30913034
commit f699e497ec
1 changed files with 1 additions and 1 deletions

View File

@ -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;