Fix internet :)

Related to #96
This commit is contained in:
Vadim Vetrov 2024-08-29 19:28:26 +03:00 committed by GitHub
parent 0a679ea41c
commit 3d50c00e4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,7 +89,7 @@ int process_tcp_packet(const uint8_t *raw_payload, uint32_t raw_payload_len) {
goto accept; goto accept;
} }
if (tcph->syn) { if (tcph->syn && config.synfake) {
lgtrace_addp("TCP syn alter"); lgtrace_addp("TCP syn alter");
uint8_t payload[MAX_PACKET_SIZE]; uint8_t payload[MAX_PACKET_SIZE];
memcpy(payload, ipxh, iph_len); memcpy(payload, ipxh, iph_len);