Skip to content
Snippets Groups Projects
Commit f28e5fb7 authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Undo last fix. We can't access the SYN bit...

Sponsored by: Neflix.
parent eb2b2347
No related branches found
No related tags found
No related merge requests found
...@@ -600,7 +600,8 @@ static int map_inbound_icmp_tcp_packet( ...@@ -600,7 +600,8 @@ static int map_inbound_icmp_tcp_packet(
struct socket *socket, struct packet *live_packet, char **error) struct socket *socket, struct packet *live_packet, char **error)
{ {
u32 *seq = packet_echoed_tcp_seq(live_packet); u32 *seq = packet_echoed_tcp_seq(live_packet);
bool is_syn = live_packet->tcp->syn; /* FIXME: There is currently no way to access the TCP flags */
bool is_syn = false;
u32 seq_offset = local_seq_script_to_live_offset(socket, is_syn); u32 seq_offset = local_seq_script_to_live_offset(socket, is_syn);
*seq = htonl(ntohl(*seq) + seq_offset); *seq = htonl(ntohl(*seq) + seq_offset);
return STATUS_OK; return STATUS_OK;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment